nerdexam
Microsoft

70-516 · Question #164

70-516 Question #164: Real Exam Question with Answer & Explanation

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

Question

Drag and Drop Question The user interface requires that a paged view be displayed of all the products sorted in alphabetical order. The user interface supplies a current starting index and a page size in variables named startIndex and pageSize of type int. You need to construct a LINQ expression that will return the appropriate Parts from the database from an existing ContosoEntities context object named context. You begin by writing the following expression: context.Parts Which query parts should you use in sequence to complete the expression? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)

Exhibit

70-516 question #164 exhibit

Options

  • A.OrderBy(x => x.Name)
  • B.Skip(pageSize)
  • C.Skip(startIndex)
  • D.Take(pageSize);
  • E.Take(startIndex)

Unlock 70-516 to see the answer

You've previewed enough free 70-516 questions. Unlock 70-516 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-516 Practice