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