Array2DTSlice(Int32) Method

Gets a new Array2DT instance, which represents a subrange of rows of the current instance starting with the specified startRowIndex.

Definition

Namespace: KGySoft.Collections
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0
C#
public Array2D<T> Slice(
	int startRowIndex
)

Parameters

startRowIndex  Int32
The offset that points to the first row of the returned Array2DT.

Return Value

Array2DT
The subrange of rows of the current Array2DT instance starting with the specified startRowIndex.

Exceptions

ArgumentOutOfRangeExceptionstartRowIndex is out of range.

See Also