Click or drag to resize

ReadOnlySpanTSlice(Int32) Method

Forms a slice out of the current span starting at the specified index.

Namespace: System
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.6.9.260611-9a148513a79c26cdd7f1dde468f4f9e06ef3bc7e
Syntax
public ReadOnlySpan<T> Slice(
	int start
)

Parameters

start  Int32
The index at which to begin the slice.

Return Value

ReadOnlySpanT
A ReadOnlySpanT that consists of all elements from start to the end of the span.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException Thrown when start is negative or greater than Length.
See Also