What is the reasoning behind Interlocked.Read() only being defined for Int64 and not for UInt64? I wouldn’t have thought there was any difference between the two types.
What is the reasoning behind Interlocked.Read() only being defined for Int64 and not for
Share
The
Interlockedclass is defined inmscorlibwhich is CLS-Compliant andUInt32andUInt64are, for better or for worse, not CLS-Compliant.As for why they are not CLS-Compliant, see this SO article: