The MSDN docs say List collections derive from:
System.Collections.Generic.List
But when I pull up .NET Reflector 6 this is what I see in System.Collections.Generic:
BitHelper
ISet
LinkedList
LinkedListNode
Queue
SortedDictionary
…
But no List.
If I right-click on System.Collections.Generic and then on “Search MSDN” it lists all of the generic classes and includes List.
But I don’t see List in .Net Reflector.
Where can I find it?
LinkedList<T>and the other classes you mention are in theSystem.dllassembly.List<T>is inmscorlib. All are in theSystem.Collections.Genericnamespace.Make sure to browse to the
System.Collections.Genericnamespace section withinmscorlib, notSystem.You can see this on MSDN’s page for
List<T>right under the namespace definition:However,
LinkedList<T>, for example, shows:(Note that you can also search for the type in Reflector, which will cause it to be found correctly…)