API
Interlocked.Increment
Atomically increments a numeric location.
Formal Syntax & Structure
csharp syntaxcsharp
Interlocked.Increment(ref count)Working Example
Example Snippetcsharp
// Documentary fragment; see linked lesson for context.Interlocked.Increment(ref count)