Document Library for WinForms | ComponentOne
C1.Win.C1Document.4.8 Assembly / C1.Win.C1Document Namespace / Utils Class / Swap<T> Method

In This Topic
    Swap<T> Method (Utils)
    In This Topic
    Swaps two values.
    Syntax
    'Declaration
     
    Public Shared Sub Swap(Of T)( _
       ByRef v1 As T, _
       ByRef v2 As T _
    ) 
    public static void Swap<T>( 
       ref T v1,
       ref T v2
    )

    Parameters

    v1
    v2

    Type Parameters

    T
    See Also