In C#, the += operator is not merely not guaranteed to be atomic, it is guaranteed not to be atomic

added by Paul Wheeler
8/25/2014 12:45:43 PM

2 Kicks, 72 Views

In the C# language, operation/assignment such as += are explicitly not atomic. But you already knew this, at least for properties.