C Sharp for Beginners/Looping
while (myInt < 10){
// do things...
myInt++;
}
Do loops are like while loops, except they always execute at least once.
do {
// do things...
} while (myVar != false);
for (int i=0; i < 10; i++){
if (i == 10)
break;
if (i % 2 == 0)
continue;
// do things
}