Ariadne.SharedInt32.Exchange C# (CSharp) Méthode

Exchange() public méthode

Atomically replace the value of the Ariadne.SharedInt32, returning the previous value.
public Exchange ( int value ) : int
value int The number to set the to.
Résultat int
        public int Exchange(int value)
        {
            return Interlocked.Exchange(ref _value, value);
        }