Table of Contents

NumberRange.Enumerate Method

Definition

Namespace
GleamTech.DocumentUltimate
Assembly
GleamTech.DocumentUltimate.dll

Enumerates all the numbers that this range instance describes. The sequence will be distinct and in ascending order.

public virtual IEnumerable<int> Enumerate(int finalNumber)

Parameters

finalNumber int

The final number which is used as the maximum value for open range specifier.

Returns

IEnumerable<int>

An enumerable sequence of integers. The sequence will be distinct and in ascending order