black

MCPD(70-511)

登录

单项选择题

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.

相关考题

单项选择题 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? ()

单项选择题 You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You create a class named Person that has a FirstName property and a LastName property. You create a resource that contains a collection of Person objects and assign the family key to it. You add a ListBox control by using the following code fragment. (Line numbers are included for reference only.) You need to ensure that each item in the ListBox control meets the following requirements: Contains a TextBox that is data-bound to the FirstName property. Contains a TextBox that is data-bound to the LastName property. Which code fragment should you insert at line 04?()

单项选择题 You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You declare a class named PictureContainer that has a property named Photo. The Photo property is of the byte[] type and contains an image in the JPEG format. You assign a collection of the PictureContainer elements to the current DataContext. You need to create a ListBox control that displays the images. Which code fragment should you use?()

All Rights Reserved 版权所有©考试题库网(kstiku.com)

备案号:湘ICP备14005140号-3

经营许可证号:湘B2-20140064