MakeArrayType(IType, int)
Creates an array type from the current type.
Declaration
public static IArrayType MakeArrayType(this IType elementType, int rank = 1)
Parameters
Type | Name | Description |
---|---|---|
IType | elementType | Type of array elements. |
int | rank | Rank of the array/. |
Returns
Type | Description |
---|---|
IArrayType | An array type |