Creates a sequence from a given array.
Namespace: SequencesAssembly: Sequences (in Sequences.dll) Version: 1.0.1.0 (1.0.1)
Syntax public static ISequence<T> With<T>(
params T[] items
)
public static ISequence<T> With<T>(
params T[] items
)
Public Shared Function With(Of T) (
ParamArray items As T()
) As ISequence(Of T)
Public Shared Function With(Of T) (
ParamArray items As T()
) As ISequence(Of T)
public:
generic<typename T>
static ISequence<T>^ With(
... array<T>^ items
)
public:
generic<typename T>
static ISequence<T>^ With(
... array<T>^ items
)
static member With :
items : 'T[] -> ISequence<'T>
static member With :
items : 'T[] -> ISequence<'T>
Parameters
- items
- Type: T
The elements for which a sequence will be created.
Type Parameters - T
- The type of elements in the sequence.
Return Value
Type:
ISequence T A sequence created from the elements in
items.
See Also