Is it possible to see how this or that standard method or class is implemented in .NET?

For example, I use ArrayList and I want to see the source code of the implementation in order to better understand how it works. It is desirable that you can immediately see from the IDE.

  • Use Reflector or dotPeek . - Specter

2 answers 2

ReSharper and Reflector have corresponding plug-ins for Visual Studio.

    Currently (2015), you can view all the sources at http://referencesource.microsoft.com . For example, for an ArrayList it is here .


    By the way, it makes sense to abandon untyped containers like ArrayList and go to List<T> .