ReadOnlySpanSlice<T>.GetIndex Method

Gets the index in the storage array of the element at the specified position.

Definition

Namespace: Numerics.NET.Collections
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
public int GetIndex(
	int index
)

Parameters

index  Int32
The zero-based index of the element in the array slice.

Return Value

Int32
The index of the element in the storage array.

See Also