int i = 0; for (i = 0; i < 100; i++) { Console.WriteLine(i); } Console.ReadKey();