menu

Thursday, August 16, 2012

Command Line Argument in C Sharp

What is command line argument?
class Program
{
    static void Main(string[] args)
    {
        foreach (string s in args)
        {
            Console.WriteLine(s);
        }
        Console.ReadKey();
    }
}

No comments:

Post a Comment