Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
Ariadne
SharedInt32
Exchange
Ariadne.SharedInt32.Exchange C# (CSharp) Method
SharedInt32 Class Documentation
Mostra file
Open project: JonHanna/Ariadne
Exchange()
public
method
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.
return
int
public int Exchange(int value) { return Interlocked.Exchange(ref _value, value); }
SharedInt32
Add
Decrement
Exchange
Increment
SharedInt32
Subtract