Enumerable.toArray Method

Creates an array from an enumerable.
 
 
Static This method is static.

Parameters

source

Type: IEnumerable
A sequence to enumerate and return as an array.

Return Value


Type: Array
Array that contains the elements from the input sequence.