how to make a for loop in c#

C#
for (int i = 0; i < 10; i++)
{
    Console.WriteLine("Value of i: {0}", i);
}
Source

Also in C#: