Unlike most classes, Array provides the CreateInstance method, instead of public constructors, to allow for late bound access.
The lengths and lowerBounds arrays must have the same number of elements. The number of elements in the lengths array must equal the number of dimensions in the new Array.
Each element of the lengths array must specify the length of the corresponding dimension in the new Array.
Each element of the lowerBounds array must specify the lower bound of the corresponding dimension in the new Array. Generally, the .NET Framework class library and many programming languages do not handle nonzero lower bounds.
Reference-type elements are initialized to nullNothingnullptra null reference (Nothing in Visual Basic). Value-type elements are initialized to zero.
This method is an O(n) operation, where n is the product of all values in lengths.