Click or drag to resize

ContiguousIntegerRangeFromFirstAndLastInclusive Method

Constructs an integer range from the first and the last element of the range. Note that because last has to be greater than or equal to start, it is not possible to create an empty range with this method.

Namespace: Altaxo.Collections
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static ContiguousIntegerRange FromFirstAndLastInclusive(
	int start,
	int last
)

Parameters

start  Int32
First element belonging to the range.
last  Int32
Last element belonging to the range.

Return Value

ContiguousIntegerRange
Newly constructed integer range.
See Also