试题详情
单项选择题 You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application. The application uses the LINQ ParallelEnumerable. AsParallel method to perform multiple queries on a database. You need to ensure that queries can execute on separate threads concurrently. What should you do? ()

A、 Use the AsOrdered method.

B、 Use the SelectMany method.

C、 Use the AutoBuffered option in the WithMergeOptions method.

D、 Use the WithExecutionMode method with the ParallelExecutionMode.ForceParallelism parameter.

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

热门试题