Swap Method
Swap(int, int, int)
Swaps items from one specified location to another.
Declaration
void Swap(int fromIndex, int toIndex, int count)
Sub Swap(fromIndex As Integer, toIndex As Integer, count As Integer)
Parameters
Type |
Name |
Description |
int |
fromIndex |
Location at which to begin the swap
|
int |
toIndex |
Location at which to swap items
|
int |
count |
Number of items to swap
|