开发者

c#.net source code

is it possible to see the source code of C# library implementations?

such as List or Dictionary impl开发者_运维技巧ementation source code.


You can download the entire Microsoft .NET Framework Sourcecode at Microsoft's Reference Source Code Center.


You should be able to open up anything in Reflector (http://www.red-gate.com/products/reflector/) and view any of the framework source.


Yes. ReSharper helps by automatically downloading the pdb, if it is availabe from Microsoft, when you hit F12. Otherwise you can use Reflector.


Use this: http://www.red-gate.com/products/reflector/

There is a free version.

There are other ways, like the Mono or Rotor source. In my opinion, Reflector is the simplest and most useful.


Yes, it is. You can decompile every .NET Assembly using Red Gates Reflector together with the appropriate AddIns.


You can use reflector for this


If you want to go one step further than reflector and actually step into the framework code while debugging, then check out this blog post from Scott Guthrie: .NET Framework Library Source Code now available.

It tells you how to use the Microsoft Symbol servers to get the framework code while debugging.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜