Enumerable.range Method

Generates a sequence of integral numbers within a specified range.
 
 
Static This method is static.

Parameters

start

Type: Number (Integer)
The value of the first integer in the sequence.
count

Type: Number (Integer)
The number of sequential integers to generate.

Return Value


Type: IEnumerable
An enumerable that contains a range of sequential integral numbers.