Chapter 4. Arrays and Collections

IN THIS CHAPTER

Even if you are writing an application that works with ADO.NET and relational databases, you will still encounter situations where you need to know how to manage lists of information. Even if you aren’t the one who created the lists, you should still know how to use them. For example, there are many controls available in Windows Forms and Web Forms that expose lists or collections to allow you to manipulate their data.

This chapter introduces you to the basics of working with arrays and collections. You will learn the differences between the two types of data and the situations in which both are used.

Working with Arrays

Arrays are basically lists ...

Get Microsoft® Visual C# 2005 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.