Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Interlocked::Add Method

 

Adds two integers and replaces the first integer with the sum, as an atomic operation.

Namespace:   System.Threading
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAdd(Int32%, Int32)

Adds two 32-bit integers and replaces the first integer with the sum, as an atomic operation.

System_CAPS_pubmethodSystem_CAPS_staticAdd(Int64%, Int64)

Adds two 64-bit integers and replaces the first integer with the sum, as an atomic operation.

Return to top
Show:
© 2017 Microsoft