You are developing an application that will perform mathematical calculations.

You are developing an application that will perform mathematical calculations.
You need to ensure that the application is able to perform multiple calculations simultaneously.
What should you do?

A. Set the IdealProcessor property of the ProcessThread object.

B. Set the ProcessorAffinity property of the ProcessThread object.

C. For each calculation, call the QueueUserWorkItem method of the ThreadPool class.

D. Set the Process.GetCurrentProcess().BasePriority property to High. 



Answer: C 


No comments:

Post a Comment