Illustrates the use of comments : Comments : Language Basics C# Examples


C# Examples » Language Basics » Comments »

 

Illustrates the use of comments









    
class  MainClass
{

    public  static  void  Main()
    {

        //  display  "Hello  World!"  on  the  screen
        System.Console.WriteLine("Hello  World!");

    }

}
    
   
  
   



Output

Hello World!


HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo Language Basics
» Comments