ECMA-334 C# Language Specification

15.7: Selection statements

Selection statements select one of a number of possible statements for execution based on the value of some expression.

selection-statement
if-statement
switch-statement

In This Section: