Enumerable.toArray Method
Creates an array from an enumerable.
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.