O'Reilly logo

C# 2010 for Programmers, Fourth Edition by Harvey M. Deitel, Paul J. Deitel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

6. Control Statements: Part 2

Objectives

In this chapter you’ll learn:

• The essentials of counter-controlled repetition.

• To use the for and do... while repetition statements to execute statements in an application repeatedly.

• To understand multiple selection using the switch selection statement.

• To use the break and continue program-control statements to alter the flow of control.

• To use the logical operators to form complex conditional expressions in control statements.

Not everything that can be counted counts, and not everything that counts can be counted.

Albert Einstein

Who can control his fate?

William Shakespeare

The used key is always bright.

Benjamin Franklin

Every advantage in the past is judged in the light of the final ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required