10:14 PM
Syed Muhammad Ali
C# From Scratch
2) Download the C# Manual and take a look at it. 3) Create a file called hello.cs which has the following code:
using System;
class Hello {
static void Main() {
Console.WriteLine("Hello world");
}
}
4) Go to the command line then make sure you cd to the directory where your hellos.cs file exists) and type in:
csc hello.cs <hit>
The above should be done in the directory where hello.cs exists.</hit>
5) Type in:
hello<hit>
You should see the output!</hit>
Now you can start playing around with C#!!