Chapter 8 introduced arrays—simple data structures used to store items of a specific type. Although commonly used, arrays have limited capabilities. For instance, you must specify an array’s size, and if at execution time, you wish to modify it, you must do so manually by creating a new array or by using class
Resize method, which incurs the overhead of creating a new array and copying the existing elements into the new array for you.
In this chapter, we introduce a set of prepackaged data structures—the .NET Frame-work’s collection classes—that offer greater capabilities than traditional arrays. They’re reusable, reliable, powerful and efficient and have been carefully designed and tested to ensure correctness and good ...