Chapter 23. Collections

 

The shapes a bright container can contain!

 
 --Theodore Roethke
 

I think this is the most extraordinary collection of talent, of human knowledge, that has ever been gathered together at the White House—with the possible exception of when Thomas Jefferson dined alone.

 
 --John F. Kennedy
<feature> <supertitle>Objectives</supertitle>

In this chapter you’ll learn:

<objective>

The nongeneric and generic collections that are provided by the .NET Framework.

</objective>
<objective>

To use class Array’s static methods to manipulate arrays.

</objective>
<objective>

To use enumerators to “walk through” a collection.

</objective>
<objective>

To use the foreach statement with the .NET collections.

</objective>
<objective>

To use nongeneric collection ...

Get Visual C# 2010: How to Program, Fourth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.