试题详情
单项选择题 You use Microsoft .NET Framework 4 to create an application. The application performs resource-intensive calculations that consist of multiple layers of nested looping. The application will be deployed to servers that contain varying hardware configurations. You need to ensure that the application utilizes CPU resources on the server in the most efficient manner. You want to achieve this goal by using the minimum amount of code. What should you do?()

A、 Use multiple System.Threading.Thread objects.

B、 Use the background worker process (BWP).

C、 Use the Thread.BeginInvoke method.

D、 Use the Parallel.For method.

  • D
  • 关注下方微信公众号,在线模考后查看

热门试题