CHAPTER 11
Collections Explained
This chapter will discuss the different collection types in .NET—Array
, List<T>
, ArrayList
, Stack
, Queue
, Hashtable
, and Dictionary
—which are used for storing and managing data in an application. We will look at the internal workings of the List<T>
class and how the CLR instantiates an instance of the List<T>
class, how it adds items into it, and how it expands its internal array to accommodate more items. We will also examine the internal workings of the ArrayList
, Stack
, Queue
, Hashtable
, and Dictionary
classes to see how CLR handles these classes to store information.
Collections in .NET
The System.Collections ...
Get Expert C# 5.0: with the .NET 4.5 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.