ArraySectionT Constructor

Overload List

ArraySectionT(T) Initializes a new instance of the ArraySectionT struct from the specified array. No heap allocation occurs when using this constructor overload.
ArraySectionT(ArraySegmentT) Initializes a new instance of the ArraySectionT struct from the specified ArraySegmentT. No heap allocation occurs when using this constructor overload.
ArraySectionT(T, Int32) 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.
ArraySectionT(Int32, Boolean) 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.
ArraySectionT(T, Int32, Int32) Initializes a new instance of the ArraySectionT struct from the specified array using the specified offset and length. No heap allocation occurs when using this constructor overload.

See Also