<PackageReference Include="System.Reflection.Metadata" Version="11.0.0-rc.2.26504.105" />

System.Reflection.Metadata.ArrayShape

public struct ArrayShape
Represents the shape of an array type.
public ImmutableArray<int> LowerBounds { get; }

Gets the lower-bounds of all dimensions. Length may be smaller than rank, in which case the trailing dimensions have unspecified lower bounds.

public int Rank { get; }

Gets the number of dimensions in the array.

public ImmutableArray<int> Sizes { get; }

Gets the sizes of all dimensions.

public ArrayShape(int rank, ImmutableArray<int> sizes, ImmutableArray<int> lowerBounds)

Initializes a new instance of the ArrayShape structure.