Type.IsVariableBoundArray Property

Definition

Gets a value that indicates whether the type is an array type that can represent a multi-dimensional array or an array with an arbitrary lower bound.

C#
public virtual bool IsVariableBoundArray { get; }

Property Value

true if the current Type is an array type that can represent a multi-dimensional array or an array with an arbitrary lower bound; otherwise, false.

Remarks

If the value of this property is true for an array type, it can be used to create single-dimensional or multi-dimensional array instances with arbitrary lower bounds. Otherwise, the array type can only be used to create instances of single-dimensional arrays with a zero lower bound.

Applies to

Product Versions
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Standard 2.1