C# Program to display "Hello, World!"

Problem

Write a program in C# to display “Hello, World!” on the screen.

C# Program to display “Hello, World!” in Console Window.

This is a simple C# program that displays “Hello, World!” on the console window.

using System;
namespace AbundantcodeCSharpApp
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello, World!");
            Console.ReadLine();
        }
    }
}

Output

Hello, World!

SNAGHTMLa03fbe2