IList<T>.Exchange Method

Definition

Exchanges the position of two elements at the given indixes.

Delphi
procedure Exchange(index1: Integer; index2: Integer)

Parameters

index1
Integer

Index of the first element.

index2
Integer

Index of the second element.