is it possible to see the source code of C# library implementations?
such as List or Dictionary implementation source code.
is it possible to see the source code of C# library implementations?
such as List or Dictionary implementation source code.
You should be able to open up anything in Reflector (http://www.red-gate.com/products/reflector/) and view any of the framework source.
You can use reflector for this
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.
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.
You can download the entire Microsoft .NET Framework Sourcecode at Microsoft's Reference Source Code Center.
Yes. ReSharper helps by automatically downloading the pdb, if it is availabe from Microsoft, when you hit F12. Otherwise you can use Reflector.