3 ms·
C# += operator guaranteed not to be atomic
- chiph 12y agoIt's easy to hand-wave this as being obviously true in a multi-threaded environment, but the strict left-to-right evaluation in C# means you might hit this even in single-threaded code. Interesting.