ArraySectionTAsArray2D Method

Gets this ArraySectionT as an Array2DT instance using the specified height and width. The ArraySectionT must have enough capacity for the specified dimensions.

Definition

Namespace: KGySoft.Collections
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public Array2D<T> AsArray2D(
	int height,
	int width
)

Parameters

height  Int32
The height of the array to be returned.
width  Int32
The width of the array to be returned.

Return Value

Array2DT
An Array2DT instance using this ArraySectionT as its underlying buffer that has the specified dimensions.

See Also