What is the purpose of the Monitor.Enter() and Monitor.Exit() methods in C#?
A. To acquire and release an exclusive lock on an object
B. To create a new thread
C. To pause and resume the execution of a thread
D. To terminate a thread
Answer: Option A

Join The Discussion