-
Notifications
You must be signed in to change notification settings - Fork 35
M_CodeJam_Algorithms_Swap__1
Andrew Koryavchenko edited this page Jun 17, 2018
·
6 revisions
Swaps two objects
Namespace: CodeJam
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.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
- value1
- Type: T
First value to swap. - value2
- Type: T
Second value to swap.
- T
- Type of values