Chapter 18. Using Collections
After completing this chapter, you will be able to
Explain the functionality provided in the different collection classes available with the .NET Framework.
Create type-safe collections.
Populate a collection with a set of data.
Manipulate and access the data items held in a collection.
Search a list-oriented collection for matching items by using a predicate.
Chapter 10, introduced you to arrays for holding sets of data. Arrays are very useful in this respect, but they have their limitations. Arrays provide only limited functionality; it is not easy to increase or reduce the size of an array, and neither is it a simple matter to sort the data held in an array, for example. Another issue is that arrays only really provide ...
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