MoreEnumerableReturnT Method

Returns a single-element sequence containing the item provided.

Definition

Namespace: MoreLinq
Assembly: MoreLinq (in MoreLinq.dll) Version: 3.4.0+b99a6a8cc504caf2d48372fe54a2f8116c59cd0c
C#
public static IEnumerable<T> Return<T>(
	T item
)

Parameters

item  T
The item to return in a sequence.

Type Parameters

T
The type of the item.

Return Value

IEnumerableT
A sequence containing only item.

See Also