C# Program to Hello World


-

-

Example:

Copied
using System;

class CSharpProgram  
{  
    static void Main(string[] args)  
    {  
        System.Console.WriteLine("Hello World!");  
    }  
}  

Output:

Hello World!