Returns a copy of this sequence with the given element prepended.
Namespace: SequencesAssembly: Sequences (in Sequences.dll) Version: 1.0.1.0 (1.0.1)
Syntax public ISequence<T> Prepend(
T elem
)
public ISequence<T> Prepend(
T elem
)
Public Function Prepend (
elem As T
) As ISequence(Of T)
Public Function Prepend (
elem As T
) As ISequence(Of T)
public:
virtual ISequence<T>^ Prepend(
T elem
) sealed
public:
virtual ISequence<T>^ Prepend(
T elem
) sealed
abstract Prepend :
elem : 'T -> ISequence<'T>
override Prepend :
elem : 'T -> ISequence<'T>
abstract Prepend :
elem : 'T -> ISequence<'T>
override Prepend :
elem : 'T -> ISequence<'T>
Parameters
- elem
- Type: T
The element to prepend.
Return Value
Type:
ISequence T A copy of this sequence with the given element prepended.
Implements
ISequence T Prepend(T)See Also