|
Iteration Statements
|
while
|
1st, evaluates the expression. 2nd , execution of the body.
|
do...while
|
1st, execution of the body. 2nd, evaluates the expression.
|
for
|
contains 3 parts. 1.Initialization 2.Condition 3.Iteration
|
foreach
|
iterates over each element in an enumerable object
|
|