ArraySectionT(T, Int32) Constructor

Initializes a new instance of the ArraySectionT struct from the specified array using the specified offset. 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(
	T[] array,
	int offset
)

Parameters

array  T
The array to initialize the new ArraySectionT instance from.
offset  Int32
The index of the first element in the array to include in the new ArraySectionT.

See Also