Microsoft
98-361 · Question #326
You need to provide complex multi-way branching in your C# program. You need to make sure that your code is easy to read and understand. Which of the following C# statements should you use?
The correct answer is D. switch. See the full explanation below for the reasoning.
Question
You need to provide complex multi-way branching in your C# program. You need to make sure that your code is easy to read and understand. Which of the following C# statements should you use?
Options
- Acase
- Bbreak
- Cif-else
- Dswitch
How the community answered
(20 responses)- A5% (1)
- B15% (3)
- C5% (1)
- D75% (15)
Community Discussion
No community discussion yet for this question.