for (initializer; condition; iterator) body //Example : for (int i = 0; i < 5; i++) { Console.WriteLine(i); }
for (int i = 0; i < 5; i++) { Console.WriteLine(i); }
for (statement 1; statement 2; statement 3) { // code block to be executed }
for (int i = 0; i < 5; i++) { if (i >= 4) { break; } Console.WriteLine(i); }