C# is available on most XP workstations. To determine if it is installed, look in the C:\WINDOWS\Microsoft.NET\Framework\ folder and see if there are any "V" folders present; if so, the highest version folder is the one in which you will want to work. Copy the following code into Notepad and save it into this folder as "hello.cs" (any or no extension will work, but "cs" stands for C-Sharp and is customary):
Next, open a CMD (DOS) window and navigate to the folder you are using. To compile the program, type "csc hello.cs" and you should see something similar to:
This compiles the "hello.cs" source code into "hello.exe" which you can now run by typing "hello" and finally be rewarded with: