34,333
edits
Changes
no edit summary
<pre>
C:\Documents and Settings\Neil>csc HelloCsharp.cs
Microsoft (R) Visual C# 2008 Compiler version 3.5.21022.8
for Microsoft (R) .NET Framework version 3.5
Copyright (C) Microsoft Corporation. All rights reserved.
</pre>
If the compiler displays any syntax errors go back to the source and double check you haven't made any typing errors. Remember that C# is case sensitive. A common mistake made by C programmers, for example, is to write ''Main'' as ''main'' which will cause the compiler to display a syntax error.
Assuming there are no syntax errors, the next step is to execute the program.
== Executing a Compiled C# Program ==