The break statement can also be used to jump out of a loop
for (int i = 0; i < 10; i++) { if (i == 7) { break; } Console.WriteLine(i); }
for (int i = 0; i < 10; i++) { if (i == 7) { continue; } Console.WriteLine(i); }