C# Interlocked Increment/Decrement on Native Int

69 views Asked by At

C# 9.0 introduced native sized integers (see here). However, when trying to use these native integers with Interlocked.Increment() or Interlocked.Decrement() there aren't any overloads that allow this.

Is there a way to use native integers with Interlocked increment/decrement operations in C#?

0

There are 0 answers