We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
[This is preliminary documentation and is subject to change.]
Swaps two objects
Namespace: CodeJamAssembly: CodeJam (in CodeJam.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public static void Swap<T>( ref T value1, ref T value2 )
VB
Public Shared Sub Swap(Of T) ( ByRef value1 As T, ByRef value2 As T )
F#
static member Swap : value1 : 'T byref * value2 : 'T byref -> unit
Algorithms ClassCodeJam Namespace