C# Match Equivalent?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By 9BitStrider

See title. I’ve had no luck in finding an equivalent for the “match” function in Godot for C#. Thanks for the help.

:bust_in_silhouette: Reply From: rakkarage

A match statement is used to branch execution of a program. It’s the equivalent of the switch statement found in many other languages, but offers some additional features.