Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Exam UiPath-ADPv1 All Questions
Exam UiPath-ADPv1 All Questions

View all questions & answers for the UiPath-ADPv1 exam

UiPath Certified Professional - Developer Track UiPath-ADPv1 Question # 28 Topic 4 Discussion

UiPath-ADPv1 Exam Topic 4 Question 28 Discussion:
Question #: 28
Topic #: 4

Considering that the attached table is stored in a variable called "dt":

UiPath-ADPv1 Question 28

Which LINQ query can be used to return the maximum total Quantity?


A.

dt.AsEnumerable. Max(Function(x) Convert.ToInt32(x("Quantity").ToString))


B.

dt.AsEnumerable. Max(Function(x) Convert.ToInt32(x("Quantity").ToString))("Item")


C.

dt.AsEnumerable. GroupBy(Function(x) x("Item").ToString). Max(Function(x) x.Sum(Function(y) Convert.ToInt32(y("Quantity").ToString)))


D.

dt.AsEnumerable. OrderByDescending(Function(x) Convert.ToInt32(x("Quantity").ToString)). First.Item("Quantity")


Get Premium UiPath-ADPv1 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.