Interlocked.CompareExchange有一组函数 名称 说明 CompareExchange(Double, Double, Double) 比较两个双精度浮点数是否相等,如果相等,则替换第一个值。