Array2DTItem(Range) Property

Gets a new Array2DT instance, which represents a subrange of rows of the current instance indicated by the specified range.

Definition

Namespace: KGySoft.Collections
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0
C#
public Array2D<T> this[
	Range range
] {
	get;
 }

Parameters

range  Range
The range of rows to get.

Return Value

Array2DT
The subrange of rows of the current Array2DT instance indicated by the specified range.

Remarks

  Note

This member is available in .NET Core 3.0/.NET Standard 2.1 and above.

Exceptions

ArgumentOutOfRangeExceptionrange is out of range.

See Also