6. Control Statements: Part 2

Objectives

In this chapter you’ll:

Image Use counter-controlled iteration.

Image Use the for and do...while iteration statements.

Image Use the switch multiple-selection statement.

Image Use strings in switch expressions and string literals in case labels.

Use the break and continue program-control statements to alter the flow of control. ...

Get C# 6 for Programmers, Sixth Edition 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.