Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / Utils Class / Swap<T> Method
The type of variables.
The first variable.
The second variable.


In This Topic
Swap<T> Method (Utils)
In This Topic
Swaps values of two variables.
Syntax
'Declaration
 
Public Shared Sub Swap(Of T)( _
   ByRef a As T, _
   ByRef b As T _
) 
 
'Usage
 
Dim a As T
Dim b As T
 
Utils.Swap(Of T)(a, b)

Parameters

a
The first variable.
b
The second variable.

Type Parameters

T
The type of variables.
See Also