What is the purpose of the Interlocked class in C# multithreading?
A. To signal one or more waiting threads that an event has occurred
B. To perform atomic operations on variables
C. To provide synchronization mechanisms for multithreaded programs
D. None of the above
Answer: Option B

Join The Discussion