Arrays and Collections

Abstract

Collection types have been around in various forms since the beginning of computer programming. The most basic type of collection is the array. This chapter will give a brief overview of arrays, but won’t go into much detail, as arrays have not changed much between .NET 1.1 and .NET 2.0. We’ll spend more time explaining the major generic collection interfaces and iterators, which are new to Visual Basic 2005 (VB 2005), along with the cool things you can do with them. Traditionally, creating enumerators for collection types has been mundane and annoying. Iterators make this task a breeze, while making your code a lot more readable in the process.

Keywords

Covariance 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Guy Fouché and Trey Nash 2007

Personalised recommendations