MoreEnumerableReturnT Method
Returns a single-element sequence containing the item provided.
Namespace: MoreLinqAssembly: MoreLinq (in MoreLinq.dll) Version: 3.4.0+b99a6a8cc504caf2d48372fe54a2f8116c59cd0c
public static IEnumerable<T> Return<T>(
T item
)
Public Shared Function Return(Of T) (
item As T
) As IEnumerable(Of T)
public:
generic<typename T>
static IEnumerable<T>^ Return(
T item
)
static member Return :
item : 'T -> IEnumerable<'T>
- item T
- The item to return in a sequence.
- T
- The type of the item.
IEnumerableTA sequence containing only
item.