Examveda

What is the purpose of the Semaphore class in C# multithreading?

A. To provide synchronization mechanisms for multithreaded programs

B. To signal one or more waiting threads that an event has occurred

C. To manage a collection of threads

D. To limit the number of threads that can access a resource at a time

Answer: Option D


This Question Belongs to C Sharp Programming >> Multithreading In C Sharp

Join The Discussion

Related Questions on Multithreading in C Sharp

What is multithreading in C#?

A. The ability of a program to handle multiple inputs simultaneously

B. The process of executing multiple tasks in a sequential manner

C. The process of running multiple programs at the same time

D. The ability of a CPU to execute multiple threads simultaneously