Array2DT(Int32, Int32) Constructor

Initializes a new instance of the Array2DT struct using the specified height and width. Parameter order is the same as in case of instantiating a regular two-dimensional array.
If the created Array2DT is not used anymore the Dispose method should be called to return the possibly ArrayPoolT-allocated underlying buffer to the pool.

Definition

Namespace: KGySoft.Collections
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
C#
public Array2D(
	int height,
	int width
)

Parameters

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

See Also