Check out example codes for "c# main method". It will help you in understanding the concepts better.

Code Example 1

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

Code Example 2

static void Main(string[] args)  
{  
//...  
}

Learn ReactJs, React Native from akashmittal.com