break, continue and goto
break leaves a loop and continue skips to the next round.
Example
for (int i = 1; i <= 6; i++)
{
if (i == 2) continue;
if (i == 5) break;
Console.Write(i + " ");
}
Console.WriteLine();Exercise
Skip a round.
;Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.