Flow Control in C#
As the code base – the code being used to build the software – grows, it tends to become more complex. A company is a great example of the complexities of a business. Depending on the company rules or the industry regulations, there are certain processes and practices a company must adopt to make it successful. For example, a financial company will want to follow rules and regulations regarding how to handle sensitive customer information. How can software engineers approach problems like these in their language of choice?
In this chapter, we will learn how to create decisions and choices in how a software application works. Flow control enables programmers to change the behavior of the software based on certain criteria so that it can respond to different scenarios of usage. In C#, you’ll learn how to use if..else
statements, loops, and methods to control the behavior of the software.
This chapter will cover the following topics:
-
...