Returns a Type object representing an array of the current type, with the specified number of dimensions.
- rank
- The number of dimensions for the array.
A Type object representing an array of the current type, with the specified number of dimensions.
Type Reason IndexOutOfRangeException rank is invalid (being less than 1, for example).
This method provides a way to generate an array with any possible element type, including generic types.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0