An array is simply a list or collection of items. Every array in the Common Language Runtime inherits from the System.Array class. Table 5.1 lists the terminology commonly used when talking about arrays.
|Element||An item stored in the array|
|Length||The number of elements the array can hold|
|Rank||The number of dimensions of the array|
|Lower bound||The starting index for the array|
In the following sections, you will learn how to create single-dimensional and multidimensional arrays. Then you will learn how to create and use a jagged array (array of arrays). Finally, you will learn how to pass an array as a parameter.
Understanding Single-Dimensional and Multidimensional Arrays
Single-dimensional and multidimensional ...