Hello world basic program in C#. This simply prints “Hello World!” on console output screen.
using System;
namespace HelloWorld
{
class MyFirstClass
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
Console.ReadKey();
}
}
}