ToArray<T> Method (DXUtil)
In This Topic
Transforms an System.Collections.Generic.IEnumerable`1 to an array of T.
Syntax
'Declaration
Public Shared Function ToArray(Of )( _
ByVal As System.Collections.Generic.IEnumerable(Of T) _
) As
public static ToArray<>(
System.Collections.Generic.IEnumerable<T>
)
Parameters
- source
- The enumerable source.
Type Parameters
- T
- Type of the element
Return Value
an array of T
See Also