34,333
edits
Changes
no edit summary
== Using the switch Statement ==
The syntax for a C# ''switch'' statement is as follows:
switch (''expression'')
{
case ''constant'':
''statements''
''break/jump''
case ''constant'':
''statements''
''break/jump''
default:
''statements''
''break/jump''
}