SpanExtensions.AsSpanSlice Method

Definition

Namespace: Numerics.NET.Collections
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2

Overload List

AsSpanSlice<T>(T[])

C#
public static SpanSlice<T> AsSpanSlice<T>(
	this T[] values
)

Parameters

values  T[]
 

Type Parameters

T

Return Value

SpanSlice<T>

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type T[]. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

AsSpanSlice<T>(ReadOnlySpan<T>)

C#
public static ReadOnlySpanSlice<T> AsSpanSlice<T>(
	this ReadOnlySpan<T> values
)

Parameters

values  ReadOnlySpan<T>
 

Type Parameters

T

Return Value

ReadOnlySpanSlice<T>

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ReadOnlySpan<T>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also