How to use for loop statement in c#?

Below code shows how to use for loop statement in C# –

using System;

namespace kodehelp.csharp.basic
{
    class ForLoopStatement
    {
        public static void Main(string[] args)
        {
            //
            // create a for loop iterating from 0 and continue while
            // i is less that 10.
            //
            for (int i = 0; i < 10; i++)
            {
                Console.WriteLine(i);
            }

            Console.ReadLine();
        }
    }
}