Partager via


PexChoose.Array<T>(String, Int32) Method

Definition

Gets an array of a specified type and length.

public:
generic <typename T>
 static cli::array <T> ^ Array(System::String ^ name, int length);
public static T[] Array<T> (string name, int length);
static member Array : string * int -> 'T[]
Public Shared Function Array(Of T) (name As String, length As Integer) As T()

Type Parameters

T

The array type.

Parameters

name
String

The array's name.

length
Int32

The array length.

Returns

T[]

Returns an array of the specified type and length.

Applies to