For heavy multi-threading, Interlocked.CompareExchange becomes useful.
0
0
0
0
0