Using .NET Collections

Collections in .NET are objects that implement various interfaces defined in the System::Collections namespace. This section will begin by giving an overview of these interfaces, their members, and their relations to one another. From there, you'll be introduced to some of the various BCL-supplied classes that implement these interfaces. For example, the first class you'll see is the ArrayList class and how it encapsulates the functionality of a dynamic array that automatically resizes as items are added. From there, you'll learn about the Hashtable class, which encapsulates a collection of key/value pairs that are organized on the basis of on the hash code of the key. (If you're new to hash codes, I would recommend reading ...

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.