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
.NET Framework (current version)
Adds two integers and replaces the first integer with the sum, as an atomic operation.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | Add(Int32%, Int32) | Adds two 32-bit integers and replaces the first integer with the sum, as an atomic operation. |
![]() ![]() | Add(Int64%, Int64) | Adds two 64-bit integers and replaces the first integer with the sum, as an atomic operation. |
Show:

