Note
This article is obsolete for Visual Studio .NET users.
This article explains necessary steps required to install and run C# on your machine.
- Install Windows 2000 and IE 5.5.
- Install Microsoft .NET Framework SDK. Microsoft has it on MSDN site. Click here to download it. NET Framework SDK
- After installing these you can write your code in any text editor and save it as .cs extension. Type this in a notepad and save as my.cs.
- using System;
- class Hello {
- staticvoid Main() {
- Console.WriteLine("Hello, C# World!");
- }
- }
Now use the command line to run your cs file. C# compile takes one argument; i.e., file name. Say your C# file name is my.cs then here is command line syntax: csc C:\temp\my.cs
You can download C# Documentation to learn more C#programming.
That's it.
NOTE
www.c-point.com 's Antechinus editor supports C#. It costs between $30 to $500. You can download a trial version here http://www.c-point.com/csharp.htm.