C# for

C#
for (int i = 0; i < 5; i++) 
{
  Console.WriteLine(i);
}
for (statement 1; statement 2; statement 3) 
{
  // code block to be executed
}
for (int i = 0; i < 5; i++)
{
    Console.WriteLine(i);
}
for (int i = 0; i < 10; i++)
{
    Console.WriteLine("Value of i: {0}", i);
}
Source

Also in C#: