Splits this sequence into two at a given position.
Namespace: SequencesAssembly: Sequences (in Sequences.dll) Version: 1.0.1.0 (1.0.1)
Syntax public Tuple<ISequence<T>, ISequence<T>> SplitAt(
int n
)
public Tuple<ISequence<T>, ISequence<T>> SplitAt(
int n
)
Public Function SplitAt (
n As Integer
) As Tuple(Of ISequence(Of T), ISequence(Of T))
Public Function SplitAt (
n As Integer
) As Tuple(Of ISequence(Of T), ISequence(Of T))
public:
virtual Tuple<ISequence<T>^, ISequence<T>^>^ SplitAt(
int n
) sealed
public:
virtual Tuple<ISequence<T>^, ISequence<T>^>^ SplitAt(
int n
) sealed
abstract SplitAt :
n : int -> Tuple<ISequence<'T>, ISequence<'T>>
override SplitAt :
n : int -> Tuple<ISequence<'T>, ISequence<'T>>
abstract SplitAt :
n : int -> Tuple<ISequence<'T>, ISequence<'T>>
override SplitAt :
n : int -> Tuple<ISequence<'T>, ISequence<'T>>
Parameters
- n
- Type: System Int32
The position at which to split.
Return Value
Type:
Tuple ISequence T ,
ISequence T A pair of sequences consisting of the first
n elements of this sequence, and the other elements.
Implements
ISequence T SplitAt(Int32)See Also