Examveda

What does the 'default' keyword do in a 'switch' statement in C#?

A. Defines the final case

B. Defines the default case if no other case matches

C. Terminates the switch statement

D. None of the above

Answer: Option B


Join The Discussion

Related Questions on Control Flow Statements in C Sharp