34,333
edits
Changes
→Using the switch Statement
The syntax for a C# ''switch'' statement is as follows:
switch (''expression'')<br> {
case ''constant'':<br>
''statements''<br>
''statements''<br>
''break/jump''<br>
} This syntax needs a little of explanation.