The main function : Main : Language Basics C# Examples


C# Examples » Language Basics » Main »

 

The main function









    
using  System;

class  MainClass
{
        public  static  int  Main()
        {
                Console.WriteLine("Hello,  Universe!");
                return(0);
        }
}
    
   
  
   



Output

Hello, Universe!


HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Language Basics
» Main