Murach's Visual Basic 2008
How to work with arrays and collections

First, this chapter shows you how to use three types of arrays. Then, it shows you how to use the methods and properties of the Array class for working with an array. Last, it shows you how to use collection classes to work with typed and untyped collections.

Chapter 8 How to work with arrays and collections
How to work with one-dimensional arrays 224
How to create an array 224
How to assign values to the elements of an array 226
How to use For loops to work with arrays 228
How to use For Each loops to work with arrays 230
How to work with rectangular arrays 232
How to create a rectangular array 232
How to assign values to a rectangular array 232
How to work with rectangular arrays 234
How to work with jagged arrays 236
How to create a jagged array 236
How to assign values to a jagged array 236
How to work with jagged arrays 238
More skills for working with arrays 240
How to use the Array class 240
How to refer to and copy arrays 242
How to code procedures that work with arrays 244
How to work with collections 246
Commonly used collection classes 246
Typed vs. untyped collections 248
How to work with a list 250
How to work with a sorted list 254
How to work with queues and stacks 256
How to work with an array list 258




Murach's VB 2008

Learn more about this book

View the table of contents


More about the eBook



Our Ironclad Guarantee

First, try our books for 90 days. Then, if you aren't completely convinced that our books are the best ones you've ever used, you can return them for a full refund...no questions asked.