System.Runtime

System.Array.GetValue()

Gets the value at the specified position in the one-dimensional System.Array. The index is specified as a 32-bit integer.

Parameters

NameDescriptionDefault
index A 32-bit integer that represents the position of the System.Array element to get.

Returns

The value at the specified position in the one-dimensional System.Array.

System.Array.Length

Gets the total number of elements in all the dimensions of the System.Array.

Returns

The total number of elements in all the dimensions of the System.Array; zero if there are no elements in the array.