Chapter 4. Using decision statements

After completing this chapter, you will be able to:

Image Declare Boolean variables.

Image Use Boolean operators to create expressions whose outcome is either true or false.

Image Write if statements to make decisions based on the result of a Boolean expression.

Image Write switch statements to make more complex decisions.

Chapter 3 ...

Get Microsoft Visual C# Step by Step, 8th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.