Ariadne.SharedInt32.Subtract C# (CSharp) Method

Subtract() public method

Atomically subtract a value from the Ariadne.SharedInt32.
public Subtract ( int subtrahend ) : int
subtrahend int The number to subtract from the .
return int
        public int Subtract(int subtrahend)
        {
            return Interlocked.Add(ref _value, -subtrahend);
        }