Summary

Collections are a tremendous help when dealing with large amounts of similar data. Without them, you would have to literally create a new variable for each piece of data, which of course would be nearly impossible. The .NET Framework contains many predefined collections you can use. This hour covered the collections used most frequently, but as you dig deeper into the .NET documentation, you will find many more specialized collection classes.

Due to the nice design of the .NET Framework collection classes, you'll find that working with these different collections is quite similar, which frees you from having to learn new methods all the time.

The key to selecting a certain collection class is knowing the advantages and disadvantages of ...

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.