Q:

c# main method

static void Main(string[] args)  
{  
//...  
}
1
class TestClass
{
    static void Main(string[] args)
    {
        // Display the number of command line arguments.
        Console.WriteLine(args.Length);
    }
}
0

New to Communities?

Join the community