.NET classes and their source code

前端 未结 5 562
迷失自我
迷失自我 2020-12-29 11:43

When I\'m writing a C# (or any .NET programme) I use methods and classes. Most of the code I use is calling methods from the .NET classes. Is it possible (purely out of curi

相关标签:
5条回答
  • 2020-12-29 12:05

    You can also run a disassembler (such as the one in Reflector) over the base class libraries and view code that way, if you don't want to configure your dev environment. You won't get real variable names or comments, but for isolated viewing this can be easier.

    0 讨论(0)
  • 2020-12-29 12:05

    Yes, Microsoft has released the source .NET.

    This article should help get you started.

    0 讨论(0)
  • 2020-12-29 12:10

    Yes, it is:

    Browse the .NET Framework source code online, with search and navigation powered by Roslyn.

    See details at the .NET Framework blog...

    0 讨论(0)
  • 2020-12-29 12:10

    JustDecomple from telerik is a free tool that allows you to browse source code from most assemblies.

    http://www.telerik.com/products/decompiling.aspx

    0 讨论(0)
  • 2020-12-29 12:16

    Yes it is possible. See here for more info:

    http://weblogs.asp.net/scottgu/archive/2008/01/16/net-framework-library-source-code-now-available.aspx

    0 讨论(0)
提交回复
热议问题