Array 1D<T>.As Span Method
Definition
Namespace: Extreme.Collections
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
AsSpan( | Returns a span of the specified length from the beginning of the array. |
AsSpan( | Returns a span of the specified length from the specified start index. |
AsSpan(Int32)
Returns a span of the specified length from the beginning
of the array.
public Span<T> AsSpan(
int length
)
Parameters
- length Int32
- The length of the span.
Return Value
Span<T>A span that starts at the beginning of the array and has length length.
AsSpan(Int32, Int32)
Returns a span of the specified length from the specified
start index.
public Span<T> AsSpan(
int startIndex,
int length
)
Parameters
Return Value
Span<T>A span that starts at startIndex and has length length.