You will learn about the following in this chapter:
The main structures used to control the order in which the statements of a program are executed
The if-else statement
The comparison operators and how they allow programs to make meaningful decisions when combined with control structures like the if-else statement
How the nested and multibranch if-else statements can help you solve important computational problems
The logical operators and how they allow you to implement more powerful yet simpler programs
The infamous goto statement, why it should be avoided in most situations, and the few cases where it can be useful in C#
The switch statement
The scope and lifetime concepts and their implications
The conditional operator