ArraySectionTSlice(Int32, Int32) Method
Gets a new
ArraySectionT instance, which represents a subsection of the current instance with the specified
startIndex and
length.
Namespace: KGySoft.CollectionsAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public ArraySection<T> Slice(
int startIndex,
int length
)
Public Function Slice (
startIndex As Integer,
length As Integer
) As ArraySection(Of T)
public:
ArraySection<T> Slice(
int startIndex,
int length
)
member Slice :
startIndex : int *
length : int -> ArraySection<'T>
- startIndex Int32
- The offset that points to the first item of the returned section.
- length Int32
- The desired length of the returned section.
ArraySectionTThe subsection of the current
ArraySectionT instance with the specified
startIndex and
length.