In C#, break statements are required for each case of the switch statement. C# does not allow fallthrough from one case to the next.
To allow multiple cases to execute the same statement blocks, use the 'goto case' or 'goto default' statements.
In C#, The default case is not required.
No comments:
Post a Comment