PreperationFirst of all you need to install visual studio c# , you can download the Visual Studio 2008 Express Editions here:
http://www.microsoft.com/express/download/ and download the c# express edition.
Compiling your first c# applicationAfter installing the c# express edition (I assume that the install went smooth) you can test your visual studio express install by opening a new project by clicking on File -> new project -> console application and press "Ok" to continue.
In your code editor paste the code below
GeSHi (csharp):
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
Console.Read();
}
}
}
Created by GeSHI 1.0.7.20
Press f5 or the green arrow below the menu and a console should popup showing "Hello World!"