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
)
public static ISequence<long> Range(
long start,
long end
)
Public Shared Function Range (
start As Long,
end As Long
) As ISequence(Of Long)
Public Shared Function Range (
start As Long,
end As Long
) As ISequence(Of Long)
public:
static ISequence<long long>^ Range(
long long start,
long long end
)
public:
static ISequence<long long>^ Range(
long long start,
long long end
)
static member Range :
start : int64 *
end : int64 -> ISequence<int64>
static member Range :
start : int64 *
end : int64 -> ISequence<int64>
Parameters
- start
- Type: System Int64
The start value of the collection.
- end
- Type: System Int64
The exclusive upper bound.
Return Value
Type:
ISequence Int64 A collection with values
start,
start + 1, ...
up to, but excluding
end.
See Also