One way to understand looping is to "divide and conquer" by classifying all loops by what they can do. All loops have these things in common.
- A statement that tells VB.NET that a looping structure is starting.
- Statements that can be executed zero or more times inside the loop.
- A condition somewhere that tells VB.NET whether to execute the statements again.
- A statement that tells VB.NET where the end of the looping structure is.
The statements that tell VB.NET that a looping structure is starting are:
- For
- Do
- While
Here's a diagram showing exactly what the various parts of a For statement are:


