This documentation is archived and is not being maintained.

Interlocked.Decrement Method

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

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

Supported by the .NET Compact Framework.

Interlocked.Decrement (Int64) Decrements the specified variable and stores the result, as an atomic operation.
Show: