简体   繁体   中英

What is the difference between C# , .NET and CLI?

C#,.NET和CLI有什么区别?

C# is one of the .NET languages - VB.NET, F# and many more exist.

.NET is a platform (libraries, compiler and runtime) on which code written by any of these languages runs.

CLI is the Common Language Infrastructure - it is a specification that describes the executable code and runtime that make the .NET platform. Apart from the Microsoft one, there are other implementations - mono and Portable.NET the most known.

If you want some more acronyms:

  • There is also the CLR - the common language runtime, which is the Microsoft implementation of the CLI, mentioned above.

  • In addition, on top of the CLR, Microsoft have created the DLR - the dynamic language runtime is a set of services for several dynamic languages such as python and ruby.

好吧,c#是编程语言,CLR是工具或框架,因此您使用c#编写代码,CLR将代码转换为微处理器的语言,并且所有订单都指向您的c#代码CLR坐标内存,微处理器和其他来源,因此如果您在在那种情况下,或者你用这个制作产品,他们说你的工作完成了.NET

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM