Summary

It is beyond the scope of this book to cover all the BCL collection classes available—and would get quite boring anyway, as there is much overlap between the various collection classes. However, in this chapter, we have covered many of the more commonly used collection classes in terms of both their syntax and the situations to which they're best suited. You started out by learning the basic interfaces that collections implement in order to be called collections. From there, you saw how to use the ArrayList class, which implements the IList interface through a dynamically resized array. You also saw how to perform typical operations using some rather handy collection classes such as the Hashtable class, which represents a collection of ...

Get Extending MFC Applications with the .NET Framework now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.