Where can I find source code for .net CLR and C#?

2020-05-24 05:44发布

Is the source code for Microsoft .net CLR and C# open? If yes, where can I download/browse it?

标签: .net
6条回答
The star\"
2楼-- · 2020-05-24 06:00

Part of .NET Core is now open-source, starting with .NET Core 5.0.
Here is the project site: http://www.dotnetfoundation.org/netcore5
Here is the code: https://github.com/dotnet/corefx

查看更多
家丑人穷心不美
3楼-- · 2020-05-24 06:08

for BCL you can check here (codeplex)

and for the CLR it self here (githup)

查看更多
Lonely孤独者°
4楼-- · 2020-05-24 06:17

While I'm not intimately familiar with the licensing of Microsoft's available source code, there is at least one implementation of the CLR and C# compiler that is open source -- Novell's Mono.

http://www.mono-project.com/

查看更多
该账号已被封号
5楼-- · 2020-05-24 06:19

You can download the source code of .NET with the help of Netmassdownloader

查看更多
成全新的幸福
6楼-- · 2020-05-24 06:22

You can use Reflector to view them.

Or, if you have Resharper 5 installed, you can download the source code for viewing purpose.

alt text
(source: jetbrains.com)

But no, it is not open source, despite that you can download and view the source code.

查看更多
祖国的老花朵
7楼-- · 2020-05-24 06:22

You can have a look at the official one: Microsoft Reference Source.

You can browse the source code in Visual Studio as well, while debugging. To enable this feature, follow the steps described here: Configure Visual Studio 2013 for debugging .NET framework

查看更多
登录 后发表回答