jloga4
5/31/2017 - 3:21 AM

Example of how to use the continue operator. From the Microsoft C# Reference. https://docs.microsoft.com/en-us/dotnet/csharp/language-refere

Example of how to use the continue operator. From the Microsoft C# Reference. https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/continue

for (int i = 1; i <= 10; i++)
{
  if (i < 9)
  {
    continue;
  }
  Console.WriteLine(i);
}

//  9
//  10