Array1D<T>.ToArray Method

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

Definition

Namespace: Extreme.Collections
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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.

Exceptions

ArgumentOutOfRangeException

length is less than zero.

See Also