1
2
3
4
for (int i = 0; i < 10; i++)
{
    Console.WriteLine(i);
}