Chapter 3: Control Statements and Exceptions
In the previous chapter, we discussed data types and operators in C#. In this chapter, we will explore control statements in C#. Control statements allow us to implement conditional execution paths in our code. We will also learn how to implement exception handling, which will help us to handle errors that might occur while executing our application.
In this chapter, we will cover the following concepts:
- Control statements
- Exception handling
By the end of this chapter, we will have seen how to implement these statements and clauses practically. Let's look at each of these topics in detail using examples.