TEnumerable.Empty<T> Method

Returns an empty IEnumerable<T> that has the specified type argument.

Namespace: Spring.Collections
public
 class function Empty<T>: IEnumerable<T>; static;

Type Parameters

T
The type to assign to the type parameter of the returned generic IEnumerable<T> .

Return Value

Type: IEnumerable<T>

An empty IEnumerable<T> whose type argument is T.