Examveda

What is the purpose of the 'default' case in a 'switch' statement in C#?

A. To define the default action if no other case matches

B. To define the starting case

C. To define the final case

D. To terminate the switch statement

Answer: Option A


Join The Discussion

Related Questions on Control Flow Statements in C Sharp