Sets a value to the element at the specified position in the multidimensional Array. The indexes are specified as an array of 64-bit integers.
The number of elements in indices must equal the number of dimensions in the Array. All elements in the indices array must collectively specify the position of the desired element in the multidimensional Array.
The Array.GetLowerBound(int) and Array.GetUpperBound(int) methods can determine whether any of the values in the indices array is out of bounds.
For more information about conversions, see Convert.
This method is an O(1) operation.
If erload:System.Array.SetValue is used to assign null to an element of an array of value types, all fields of the element are initialized to zero. The value of the element is not a null reference, and cannot be found by searching for a null reference.