Q15
What is the purpose of the lock statement in C# multithreading?
A.
To execute a block of code in parallel
B.
To synchronize access to a shared resource
AnswerC.
To allocate memory for storing thread-related data
D.
None of the above
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board