Creates a sequence containing equally spaced values in some integer interval.
Namespace: SequencesAssembly: Sequences (in Sequences.dll) Version: 1.0.1.0 (1.0.1)
Syntax public static ISequence<long> Range(
long start,
long end,
long step
)
public static ISequence<long> Range(
long start,
long end,
long step
)
Public Shared Function Range (
start As Long,
end As Long,
step As Long
) As ISequence(Of Long)
Public Shared Function Range (
start As Long,
end As Long,
step As Long
) As ISequence(Of Long)
public:
static ISequence<long long>^ Range(
long long start,
long long end,
long long step
)
public:
static ISequence<long long>^ Range(
long long start,
long long end,
long long step
)
static member Range :
start : int64 *
end : int64 *
step : int64 -> ISequence<int64>
static member Range :
start : int64 *
end : int64 *
step : int64 -> ISequence<int64>
Parameters
- start
- Type: System Int64
The start value of the collection.
- end
- Type: System Int64
The exclusive upper bound.
- step
- Type: System Int64
The value to increment in each step (positive or negative).
Return Value
Type:
ISequence Int64 A collection with values
start,
start +
step, ...
up to, but excluding
end.
See Also