repeat 10 timesw c#

C#
        for (int i = 0; i < 10; i++)
        {

        }
Source

Also in C#: