nerdexam
Microsoft

70-573 · Question #192

70-573 Question #192: Real Exam Question with Answer & Explanation

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

Question

You create a Microsoft .NET Framework console application that uses a Representational State Transfer (REST) API to query a custom list named Products. The application contains the following code segment. Dim codc As New AdventureWorksDataContext(New codc.Credentials = CredentialCache.DefaultCredentials You need to read all items in Products into an object. Which method should you use?

Options

  • Acodc.Products.All
  • Bcodc.Products.AsQueryable
  • Ccodc.Products.ElementAt
  • Dcodc.Products.ToList

Unlock 70-573 to see the answer

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