ArraySectionT(ArraySegmentT) Constructor

Initializes a new instance of the ArraySectionT struct from the specified ArraySegmentT. No heap allocation occurs when using this constructor overload.

Definition

Namespace: KGySoft.Collections
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
C#
public ArraySection(
	ArraySegment<T> arraySegment
)

Parameters

arraySegment  ArraySegmentT
The ArraySegmentT to initialize the new ArraySectionT from.

See Also