CircularListTReverse(Int32, Int32) Method

Reverses the order of the elements in the specified range.

Definition

Namespace: KGySoft.Collections
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
C#
public void Reverse(
	int index,
	int count
)

Parameters

index  Int32
The zero-based starting index of the range to reverse.
count  Int32
The number of elements in the range to reverse.

Exceptions

ArgumentOutOfRangeExceptionindex is not a valid index in the list.
-or-
count is less than 0.
ArgumentExceptionindex and count do not denote a valid range of elements in the list.

See Also