using System; namespace ConsoleApp1 { internal class Program { public static void Main(string[] args) { for (int i = 1; i <= 10; i++) { if (i % 2 == 0) //If condition here is true execution won't go down. it goes to begining. continue; Console.WriteLine(i); } } } }