ArraySectionT(Int32, Boolean) Constructor

Initializes a new instance of the ArraySectionT struct using an internally allocated buffer.
When using this overload, the returned ArraySectionT instance must be released by the Release method if it is not used anymore.

Definition

Namespace: KGySoft.Collections
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public ArraySection(
	int length,
	bool assureClean = true
)

Parameters

length  Int32
The length of the ArraySectionT to be created.
assureClean  Boolean  (Optional)
to make sure the allocated underlying array is zero-initialized; otherwise, . May not have an effect on older targeted platforms. This parameter is optional.
Default value: .

See Also