Thursday, September 20, 2012

How to write a Simple For Loop in C#.Net 2008

using System;
class Program
{
    static void Main(string[] args)
    {
       for (int i = 0; i <= 10; i++)
       {
           Console.WriteLine("Hello");
       }
       Console.ReadLine();
    }
}

No comments: