for cloop csharp

Code Example - for cloop csharp

                
                        // result will be 0,1,2,3,4,5,6,7,8,9
// Here i++ means increase the value everytime in until it reaches 10.
for (int x  = 0; x < 10; x++)
{
  Console.WriteLine(x);
}