| ArrayGetValue Method (Int64, Int64) | 
Gets the value at the specified position in the two-dimensional 
Array. The indexes are specified as 64-bit integers.
 
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
 Syntax
Syntaxpublic Object GetValue(
	long index1,
	long index2
)
Parameters
- index1
- Type: SystemInt64
 A 64-bit integer that represents the first-dimension index of the Array element to get.
- index2
- Type: SystemInt64
 A 64-bit integer that represents the second-dimension index of the Array element to get.
Return Value
Type: 
ObjectThe value at the specified position in the two-dimensional 
Array.
 Exceptions
Exceptions| Exception | Condition | 
|---|
| ArgumentException | The current Array does not have exactly two dimensions. | 
| ArgumentOutOfRangeException | Either index1 or index2 is outside the range of valid indexes for the corresponding dimension of the current Array. | 
 See Also
See Also