O'Reilly logo

C# for Programmers, Second Edition by Paul J. Deitel - Deitel & Associates, Inc., Harvey M. Deitel - Deitel & Associates, Inc.

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

26. Collections

The shapes a bright container can contain!

Theodore Roethke

Not by age but by capacity is wisdom acquired.

Titus Maccius Plautus

It is a riddle wrapped in a mystery inside an enigma.

Winston Churchill

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

Objectives

In this chapter you will learn:

• The non-generic and generic collections that are provided by the .NET Framework.

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

• To use enumerators to “walk through” a collection.

• To use the foreach statement with the .NET collections.

• To ...

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