MemorySlice<T>.ToArray Method

Returns the elements of the array slice in an array.

Definition

Namespace: Numerics.NET.Collections
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
C#
public T[] ToArray(
	int length
)

Parameters

length  Int32
The number of elements to return.

Return Value

T[]
An array containing the first length elements in the array slice.

Implements

IStorageSlice<T>.ToArray(Int32)

See Also