Whether you're working with a database, 3D graphics, a console application, a Windows Forms application, or a Web Forms application, there are a few types of tasks that need to be performed: looping and branching.
Looping and branching are at the core of any language's definition. This chapter has shown you how you can use C# to create complex branching using Boolean expressions as well as multiple ways to perform iterative programming tasks by using loops.
This chapter has presented some information that, on its own, may not appear to be entirely useful. However, when you look at virtually every programming problem you will ever face in the future, you will be hard-pressed to find a scenario that does not involve looping and branching in some respect.