Array1D<T>.ToArray Method

Copies the specified number of elements to a .NET array.

Definition

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

Parameters

length  Int32
The number of elements to copy.

Return Value

T[]
A .NET array containing the first length elements in the array.

Implements

IStorageSlice<T>.ToArray(Int32)

Exceptions

ArgumentOutOfRangeException

length is less than zero.

See Also