Vidyalelo
C# Programming · Q36

Multithreading in C Sharp

Programming · C# Programming · question 36

Q36

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
Answer
B.
To create a new thread
C.
To pause and resume the execution of a thread
D.
To terminate a thread

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board