How to create Hello World Program in csharp/c# ?

Below is the basic CSharp/C# program to print Hello World on console –

namespace kodehelp.csharp.basic
{
    /// <summary>
    /// HelloWorld in C#
    /// </summary>
    public class HelloWorld
    {
        public static void Main()
        {
            //
            // Print Hello World on the console
            //
            System.Console.WriteLine("Hello World");
        }
    }
}

2 comments

  1. thejawzz says:

    Thanks for sharing

    My Programming

  2. thejawzz says:

    Thanks for sharing

    My Programming

Please Post Your Comments & Reviews

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.