Murach's C# 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.
|
|
|
|
How to create an array |
210 |
|
How to assign values to the elements
of an array |
212 |
|
How to work with arrays |
214 |
|
How to use foreach loops to work
with arrays |
216 |
|
|
How to create a rectangular array |
218 |
|
How to assign values to a rectangular
array |
218 |
|
How to work with rectangular arrays |
220 |
|
|
How to create a jagged array |
222 |
|
How to assign values to a jagged array |
222 |
|
How to work with jagged arrays |
224 |
|
|
How to use the Array class |
226 |
|
How to refer to and copy arrays |
228 |
|
How to code methods that work with arrays |
230 |
|
|
Commonly used collection classes |
232 |
|
Typed vs. untyped collections |
234 |
|
How to work with a list |
236 |
|
How to work with a sorted list |
240 |
|
How to work with queues and stacks |
242 |
|
How to work with an array list |
244 |
|
 |
|
|
|
|
© Copyright 1998-2008 Mike Murach &
Associates, Inc. All rights reserved.
|