Array Slice<T>.To Array 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.2
C#
An array containing the first length elements in the array slice.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
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.