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.

Community Additions

ADD
Show: