Method Math2.Swap
Overload
Swaps values of two variables: T t = a; a = b; b = t;
public static void Swap<T>(ref T a, ref T b)
Parameters
| a (T) |
| b (T) |
Type Parameters
| T |
Swaps values of two variables: T t = a; a = b; b = t;
public static void Swap<T>(ref T a, ref T b)
| a (T) |
| b (T) |
| T |