Multithreading In C Sharp - Study Mode
[#51] Which method is used to suspend the execution of a thread until a specified time in C#?
Correct Answer
(A) Sleep()
[#52] What is the purpose of the Semaphore class in C# multithreading?
Correct Answer
(D) To limit the number of threads that can access a resource at a time
[#53] Which method is used to resume the execution of a suspended thread in C#?
Correct Answer
(C) Resume()
[#54] What is the purpose of the Interlocked class in C# multithreading?
Correct Answer
(B) To perform atomic operations on variables
[#55] Which method is used to wait for a thread to terminate in C#?
Correct Answer
(C) Join()