Vidyalelo
C# Programming · Q31

Multithreading in C Sharp

Programming · C# Programming · question 31

Q31

What is the purpose of the Thread.Sleep() method in C# multithreading?

A.
To terminate the current thread immediately
B.
To synchronize access to a shared resource
C.
To signal one or more waiting threads that an event has occurred
D.
To pause the execution of the current thread for a specified amount of time
Answer

Answer: Option D

Solution

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