The Main Function : Main : Language Basics C# Examples


C# Examples » Language Basics » Main »

 

The Main Function









    
using  System;

class  MainClass
{
        public  static  void  Main(string[]  args)
        {
                foreach  (string  arg  in  args)
                Console.WriteLine("Arg:  {0}",  arg);
        }
}
    
   
  
   




HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Language Basics
» Main