Continue Keyword: (moves execution to the next iteration of the looping so as to conditionally skip some code: output for both code examples is 9, 10) C#: for (int i = 1; i <= 10; i++) { if (i < 9) continue; Console.WriteLine(i); } VB: for i as integer = 1 to 10 if i < 9 then continue end if Console.WriteLine(i) next
C#: for (int i = 1; i <= 10; i++) { if (i < 9) continue; Console.WriteLine(i); }
VB: for i as integer = 1 to 10 if i < 9 then continue end if Console.WriteLine(i) next