Which method should you use?

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.

You need to read all items in Products into an object.
Which method should you use?
A. codc.Products.All;
B. codc.Products.AsQueryable;
C. codc.Products.ElementAt;
D. codc.Products.ToList;

microsoft-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.