I think this is the most extra ordinary 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
In this chapter you’ll:
• Learn about the nongeneric and generic collections that are provided by the .NET Framework.
• Use class
static methods to manipulate arrays.
• Use enumerators to “walk through” a collection.
• Use the
foreach statement with the .NET collections.
• Use nongeneric collection classes
• Use generic collections
• Be introduced to covariance and contravariance for generic types.