Posted by: Pdfprep
Post Date: February 16, 2021
You work as a Software Developer for ABC Inc. The company uses Visual Studio.NET as its application development platform. You have recently finished development of an application using .NET Framework. The application used two threads named threadOne and threadTwo. You are required to modify the code of the application to prevent the execution of threadOne until threadTwo completes execution.
What will you do to accomplish this task?
A . Use a WaitCallback delegate to synchronize the threads.
B . Configure threadTwo to run at a higher priority.
C . Configure threadOne to run at a lower priority.
D . Call the Sleep method of threadOne.
E . Call the SpinLock method of threadOne
Answer: A
Leave a Reply