Interlocked.Increment Method

May 11, 2014

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Static member Increment(Int32) Increments a specified 32-bit signed variable and stores the result, as an atomic operation.
Public method Static member Increment(Int64) Increments a specified 64-bit signed integer variable and stores the result, as an atomic operation.
Top

Show:
© 2014 Microsoft