Click or drag to resize

MoreEnumerableReturnT Method

Returns a single-element sequence containing the item provided.

Namespace:  MoreLinq
Assembly:  MoreLinq (in MoreLinq.dll) Version: 3.3.1+b77df70598ab84c28cd43dcf74594024b6d575e1
Syntax
public static IEnumerable<T> Return<T>(
	T item
)

Parameters

item
Type: T
The item to return in a sequence.

Type Parameters

T
The type of the item.

Return Value

Type: IEnumerableT
A sequence containing only item.
See Also