Method Swap
Swap<T>(IList<T>, Int32, Int32)
Declaration
public static void Swap<T>(IList<T> list, int index1, int index2)
Parameters
Type | Name | Description |
---|---|---|
IList<T> | list | |
System.Int32 | index1 | |
System.Int32 | index2 |
Type Parameters
Name | Description |
---|---|
T |