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.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
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(); } } } |