LANGUAGE
continue statement
In C# 14, moves to the next iteration mechanism of the nearest loop.
Formal Syntax & Structure
csharp syntaxcsharp
continue;Working Example
Example Snippetcsharp
for (int i = 0; i < 3; i++) { if (i == 1) continue; System.Console.WriteLine(i); }