NumberRange.Enumerate Method

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

Definition

Namespace: GleamTech.DocumentUltimate
Assembly: GleamTech.DocumentUltimate (in GleamTech.DocumentUltimate.dll) Version: 7.6.6
C#
public virtual IEnumerable<int> Enumerate(
	int finalNumber
)

Parameters

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

Return Value

IEnumerable<Int32>
An enumerable sequence of integers. The sequence will be distinct and in ascending order

See Also