A switch statement can act on numerical as well as Boolean types.
A switch statement can act on characters, strings and enumerations types.
We cannot declare variables within a case statement if it is not enclosed by { }.
The foreach statement is used to iterate through the collection to get the desired information and should be used to change the contents of the collection to avoid unpredictable side effects.
All of the expressions of the for statement are not optional.
Options
A. 1, 2
B. 2, 3
C. 3, 5
D. 4, 5
E. None of these
Correct Answer
1, 2
More questions
1. Which of the following assemblies can be stored in Global Assembly Cache?