What IS C#?

KK4 KK4 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
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





...全文

相关推荐

评论 16
收藏 已收藏
分享
返回顶部
KK4
C# 111,129 成员 642,540 内容