Murach's C# - How to use arrays and collections
First, this chapter shows you how to use three types of arrays. Then, it shows you to use the methods and properties of the Array class for working with an array (since an array is actually an instance of that class). Last, it shows you how to use four other types of collection classes for specific purposes: ArrayList, SortedList, Queue, and Stack.
|
|
|
|
How to create an array |
202 |
|
How to assign values to the elements
of an array |
204 |
|
How to work with arrays |
206 |
|
How to use foreach loops to work
with arrays |
208 |
|
|
How to create a rectangular array |
210 |
|
How to assign values to a rectangular
array |
210 |
|
How to work with rectangular arrays |
212 |
|
|
How to create a jagged array |
214 |
|
How to assign values to a jagged array |
214 |
|
How to work with jagged arrays |
216 |
|
|
How to use the Array class |
218 |
|
How to refer to and copy arrays |
220 |
|
How to code methods that work with arrays |
222 |
|
|
How to create an array list |
224 |
|
Properties and methods of the ArrayList
class |
224 |
|
How to work with an array list |
226 |
|
How to work with a sorted list |
228 |
|
How to work with queues and stacks |
230 |
|
 |
|
|
|
|
© Copyright 1998-2008 Mike Murach &
Associates, Inc. All rights reserved.
|