C# Program to display "Hello, World!"


This content was proof-read by Grammarly. You can Try Grammary for FREE

Problem Statement

Write a program in Visual C# to print Hello World in the console Window.

How to display Hello World in C# ?

using System;

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

Output

Hello, World!

%d bloggers like this: