nerdexam
Microsoft

70-511 · Question #275

70-511 Question #275: Real Exam Question with Answer & Explanation

Sign in or unlock 70-511 to reveal the answer and full explanation for question #275. The question stem and answer options stay visible for context.

Question

You have a method named Method1. Method1 accepts a string parameter named param1. Method1 performs a complex operation on param1. You load an array of strings to a variable named array1. The array contains 1,000 items. You need to ensure that other methods that call Method1 can use multiple processor cores when they execute. Which code segment should you use?

Options

  • AArray1.AsQueryable().AsParallel{);
  • BArray1.AsQueryable().All (Method1) ;
  • CArrayl.AsParallel().ForAll (Method1);
  • DForeach (String item in array1) Method1(item);

Unlock 70-511 to see the answer

You've previewed enough free 70-511 questions. Unlock 70-511 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 70-511 Practice