What IS C#?
KK4 2003-10-09 02:54:05 What Is C#?
作者: 发表时间: 2003-7-13 10:22:21
C# is the new modern language for developing applications for Microsoft's .NET platform. This document will go through the basics of this language
and explain how you can use it to write efficient platform neutral applications. The .NET platform is designed to be language neutral, indeed, all .NET code is run under the Common Language Runtime (CLR). C# is
just one of the languages that can be used to write classes for the CLR, but so far it is the only language that was written from the outset with .NET in mind. This makes C# as the language of choice for .NET development.
-----------------------------------
What is C#?
-----------------------------------
The most simple C# program is shown here:
// in Simple.cs
class App
{
public static void Main()
{
}
}
This code does nothing, but will compile fine using
the C# compiler csc.exe:
csc Simple.cs