nerdexam
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)
  • A
    5% (1)
  • B
    15% (3)
  • C
    5% (1)
  • D
    75% (15)

Community Discussion

No community discussion yet for this question.

Full 98-361 Practice