Hour 16. Collections and Arrays
Any time you need to store and retrieve large amounts of resources or objects, you normally use a collection. A collection groups similar objects together and gives you the ability to insert, delete, and/or access these items. A collection can be as simple as a one-dimensional array or as complex as a binary tree. By knowing the advantages and disadvantages of each of the different types of collections that exist, you will make better decisions when designing your application so that it uses objects placed in the most optimal collection for that application.
It comes as no surprise that because the .NET Framework contains many object and value objects, a wide variety of collection classes have been created to contain ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access