Creates an infinite sequence starting at start and incrementing by step in each step.
Namespace: SequencesAssembly: Sequences (in Sequences.dll) Version: 1.0.1.0 (1.0.1)
Syntax public static ISequence<int> From(
int start,
int step
)
public static ISequence<int> From(
int start,
int step
)
Public Shared Function From (
start As Integer,
step As Integer
) As ISequence(Of Integer)
Public Shared Function From (
start As Integer,
step As Integer
) As ISequence(Of Integer)
public:
static ISequence<int>^ From(
int start,
int step
)
public:
static ISequence<int>^ From(
int start,
int step
)
static member From :
start : int *
step : int -> ISequence<int>
static member From :
start : int *
step : int -> ISequence<int>
Parameters
- start
- Type: System Int32
The start value of the sequence.
- step
- Type: System Int32
The value to increment in each step (positive or negative).
Return Value
Type:
ISequence Int32 A sequence starting at value
start.
See Also