C#读写内置类型的数据时是否原子操作

Reads and writes of the following data types are atomic: bool, char, byte, sbyte, short, ushort, uint, int, float, and reference types.

Reads and writes of doubles isn't atomic.

原文地址:https://www.cnblogs.com/lakeone/p/6995351.html