[]
Transforms an IEnumerable<T> to an array of T.
public static T[] ToArray<T>(IEnumerable<T> source)
| Type | Name | Description |
|---|---|---|
| IEnumerable<T> | source | The enumerable source. |
| Type | Description |
|---|---|
| T[] | an array of T |
| Name | Description |
|---|---|
| T | Type of the element |