Interlocked.Increment Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Increments a specified variable and stores the result, as an atomic operation.

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

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticIncrement(Int32)

Increments a specified variable and stores the result, as an atomic operation.

System_CAPS_pubmethodSystem_CAPS_staticIncrement(Int64)

Increments a specified variable and stores the result, as an atomic operation.

Return to top
Show: