O'Reilly logo

Visual C#® 2012: How to Program, Fifth Edition by Harvey Deitel, Paul Deitel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

9.1. Introduction

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 Array’s 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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required