UtilDebugSwapObjectsT(T, T) Method
Swaps the given objects.
Namespace: DevCase.Core.Diagnostics.Debugging.CommonAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void SwapObjects<T>(
ref T refObj1,
ref T refObj2
)
Public Shared Sub SwapObjects(Of T) (
ByRef refObj1 As T,
ByRef refObj2 As T
)
Dim refObj1 As T
Dim refObj2 As T
UtilDebug.SwapObjects(refObj1, refObj2)
public:
generic<typename T>
static void SwapObjects(
T% refObj1,
T% refObj2
)
static member SwapObjects :
refObj1 : 'T byref *
refObj2 : 'T byref -> unit
No code example is currently available or this language may not be supported.
- refObj1 T
-
The first object.
- refObj2 T
-
The second object.
- T
-
The Type parameter.
This is a code example.
No code example is currently available or this language may not be supported.
Dim a As Integer = 10
Dim b As Integer = 20
SwapObjects(a, b)
Console.WriteLine("a: {0}, b: {1}", a, b)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.