Introduction
This article was written in Dec 1999. This is a historic content. If you want to learn C#, start here. Learn C# Tutorials
You can type C# code in any editor such as NotePad, Wordpad, etc. Type these lines and save files as a .cs extension. Now run from the command line csc filename.
Here is my first C# program. The output of this program on the console is "Hello, C#, World!".
using System;
class Hello
{
static void Main()
{
// Display output on console
Console.WriteLine("Hello, C# World!");
}
}
Quick Method
Download attached file mc1.cs and run from the command line csc second.cs.
Learn C# here: A complete list of C# Tutorials

Jeeva SubburajPosted Dec 17, 2018, 9:14 AM
Written in 1999.. Wow.. :)
Manav PandyaPosted Dec 17, 2018, 8:40 AM
In code, there should be space between static void Main(), Cheers!
SubashPosted Sep 30, 2016, 8:02 AM
Intresting lines
Mahesh ChandPosted Oct 22, 2015, 8:40 AM
I got the C# compiler on two CDs and installed it. There was no .NET or any UI tool at that time. The way to run C# code was using the command line :)
Afzaal Ahmad ZeeshanPosted Oct 22, 2015, 7:23 AM
At that time I was 5 years old! Funny. :D But, learning C# is of great importance for every developer, C++ and C# play a great role in building the programmer in a person.
umesh kumarPosted Dec 3, 2010, 10:37 AM
thank...