最佳答案
Is there some practical reason why the .NET team decided not to support Boolean in Interlocked.Exchange operation?
One of the usage examples is when you want to guarantee that some code is executed only once and you want to use a Boolean flag for that.