What will you do to accomplish this task?

Posted by: Pdfprep Category: GSSP-.NET Tags: , ,

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

Your email address will not be published.