In This Topic
Swaps two values.
Syntax
'Declaration
Public Shared Sub Swap(Of )( _
ByRef As , _
ByRef As _
)
public static void Swap<>(
ref ,
ref
)
Parameters
- first
- First value
- second
- Second value
Type Parameters
- T
- The type of values to swap
See Also