Selects an interval of elements.
Namespace: FlinqAssembly: Flinq (in Flinq.dll) Version: 1.0.2.0 (1.0.2.0)
Syntax
C# |
---|
public static IEnumerable<A> Slice<A>( this IEnumerable<A> source, int from, int until ) |
Parameters
- source
- Type: System.Collections.Generic..::..IEnumerable<(Of <(<'A>)>)>
The sequence of elements.
- from
- Type: System..::..Int32
The index of the first element in the slice.
- until
- Type: System..::..Int32
The index of one beyond the last element in the slice.
Type Parameters
- A
- The type of the elements of source.
Return Value
Type: IEnumerable<(Of <(<'A>)>)>The output sequence.