Array.CreateInstance Method

July 28, 2014

Initializes a new instance of the Array class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Static member CreateInstance(Type, Int32) Creates a one-dimensional Array of the specified Type and length, with zero-based indexing.
Public method Static member CreateInstance(Type, Int32[]) Creates a multidimensional Array of the specified Type and dimension lengths, with zero-based indexing. The dimension lengths are specified in an array of 32-bit integers.
Public method Static member CreateInstance(Type, Int32[], Int32[]) Creates a multidimensional Array of the specified Type and dimension lengths, with the specified lower bounds.
Top

Show:
© 2014 Microsoft