The Collection Classes

The .NET Framework contains several predefined classes for collections that will be useful for most applications. The collection classes generally fall into one of three different categories: generic collections, bit collections, and specialized collections, which are collections designed for a specific purpose.

The generic collection classes contain some of the well-known collection algorithms. These include the list, stack, queue, dictionary, and hash table. As mentioned earlier, these classes each work with any .NET Framework data type.

For this hour, you're going to create a simple console-based managed C++ application. This will allow you to concentrate on working with collections without having to spend time working ...

Get Sams Teach Yourself Visual C++® .NET in 24 Hours 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.