What is the purpose of the Monitor class in C# multithreading?
A. To allocate memory for storing thread-related data
B. To signal one or more waiting threads that an event has occurred
C. To provide a mechanism for thread synchronization using locks
D. To manage a collection of threads
Answer: Option C

Join The Discussion