C#: Decision Statements: if and switch

Опубликовано: 16 Октябрь 2024
на канале: Edward Tanguay
30
0

The if, if/else, and switch statements allow your code to make real-time decisions based on the values of variables. In this lesson you'll learn the syntax of these statements. You will also see how Visual Studio helps you build switch statements when you use enums.