In the previous chapter, you learned the basics of C# syntax and the different types of data that C# can work with. You also learned how to store data using constants, variables, and arrays and to compare and analyze it using various C# operators. In this chapter, you will further expand your knowledge of C# programming by learning how to use conditional programming logic to analyze data and control program execution. You will then learn how to create and use loops to perform repetitive actions.
An overview of the major topics covered in this chapter includes learning how to:
Use different variations of the
if statement to analyze data
switch statements to compare data against a range of values
Set up ...