Iteration Statements: foreach, for, while, do/while

Iteration statements allow you to loop through a collection, for example a collection of file names, and process each one. In this lesson you'll learn the basics of the iteration statements foreach, for, while and do/while. You'll also get an idea of when to use each one of these.