Wesley's .NET Tips

This is the start of my collection of .net programming aids that I have found to be particularly useful during my development work.

System.Collections Container Hierarchy

Coming from a c++/stl background I wanted to know what containers were available in .net and how they related to each other. Browsing through the Microsoft documentation and searching the Internet I wasn't able to find anything that made it crystal clear so, since a picture is worth a 1000 words, I decided to draw the following hierarchical diagram of the primary collections in the System.Collections namespace.

Keep in mind this diagram is not entirely complete. For example, some containers implement more interfaces for serialization.

© 2009 Wesley Steiner