The following program is a simple console based CSharp application. The program starts from the main() method. Create a new Console Application project and copy and paste the following C# source code.
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("My First Program");
Console.ReadKey();
}
}
}