Chapter 14. Storing Data in Collections
One of the most common operations in programming is the storage of large sets of data. There are databases, of course, which can store any type of data and preserve their structure as well, but not all applications use databases. If your application needs to store custom objects, such as the ones you designed in Chapter 10, "Building Custom Classes," or a few names and contact information, you shouldn't have to set up a database. A simple collection like the ones described in this chapter will suffice.
Traditionally, programmers used arrays to store related data. Because arrays can store custom data types, they seem to be the answer tomany data-storage and data-manipulation issues. Arrays, however, don't ...
Get Mastering Microsoft® Visual Basic® 2008 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.