Q6
What is the purpose of the 'switch' statement in C#?
A.
To define a method
B.
To handle exceptions
C.
To iterate over a collection
D.
To execute different blocks of code based on the value of an expression
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board