Range()

Enumerable::Range(int32_t, int32_t) method

Generates a sequence of integral numbers within a specified range.

static SharedPtr<Collections::Generic::IEnumerable<int32_t>> System::Linq::Enumerable::Range(int32_t start, int32_t count)

Arguments

ParameterTypeDescription
startint32_tThe value of the first integer in the sequence.
countint32_tThe number of sequential integers to generate.

Return Value

An IEnumerable of int32_t’s that contains a range of sequential integral numbers.

See Also