This documentation is archived and is not being maintained.

Interlocked.Increment Method

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

Name Description
Interlocked.Increment (Int32) Increments a specified variable and stores the result, as an atomic operation.

Supported by the .NET Compact Framework.

Interlocked.Increment (Int64) Increments a specified variable and stores the result, as an atomic operation.
Show: