UiPath (ADPv1) Automation Developer Professional Exam(2023.10) UiPath-ADPv1 Question # 33 Topic 4 Discussion

UiPath (ADPv1) Automation Developer Professional Exam(2023.10) UiPath-ADPv1 Question # 33 Topic 4 Discussion

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

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

UiPath-ADPv1 Question 33

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.