Chapter 9. Essential Control Flow

This chapter examines the control structures available in C#. Control structures control (not surprisingly) the direction of program execution. Understanding the behavior of the flow constructs is key to programming in any language. C# constructs are very similar to those of Java, so Java examples are not presented in this chapter.

Get .NET for Java Developers: Migrating to C# 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.