Vidyalelo
C# Programming · Q7

Multithreading in C Sharp

Programming · C# Programming · question 7

Q7

What is the purpose of synchronization in multithreading?

A.
To prevent threads from running concurrently
B.
To prioritize certain threads over others
C.
To speed up the execution of threads by running them in parallel
D.
To ensure that only one thread accesses a shared resource at a time
Answer

Answer: Option D

Solution

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