为.NET Framework编写的什么语言? [英] What language is .NET Framework written in?

查看:319
本文介绍了为.NET Framework编写的什么语言?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直想问,是害怕,其实这个问题? - 什么语言.NET框架写在我​​的意思是库本身
。 在我看来,这是C和C ++居多。 (我希望乔恩斯基特正在读这一块,it`ll是非常有趣的听到,他认为这件事)

The question I always wanted to ask and was afraid to, actually - what language is .NET Framework written in? I mean library itself.
It seems to me that it was C and C++ mostly. (I hope Jon Skeet is reading this one, it`ll be very interesting to hear what he thinks about it)

推荐答案

在CLI / CLR是用C / C ++和汇编。几乎所有的.NET框架类的是用C#>编译为IL,它运行在CLR。如果你破解打开反射框架库类,您可能会看到一个属性,例如[MethodImpl(MethodImplOptions.InternalCall)],它代表了调用CLI。

The CLI/CLR is written in C/C++ and assembly. Almost all of the .NET framework classes are written in C# > compiled to IL, which runs in the CLR. If you crack open a framework library in Reflector, class, you may see an attribute such as [MethodImpl(MethodImplOptions.InternalCall)] which delegates the call to the CLI.

这篇关于为.NET Framework编写的什么语言?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆