Câu 75: UiADPv1: UiPath Automation Developer Professional v1.0
Considering that the attached table is stored in a variable called "dt": Which LINQ query can be used to return the maximum total Quantity?
Nội dung câu hỏi
Considering that the attached table is stored in a variable called "dt": Which LINQ query can be used to return the maximum total Quantity?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- 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))) — đáp án hiện tại
- D. dt.AsEnumerable. OrderByDescending(Function(x) Convert.ToInt32(x("Quantity").ToString)). First.Item("Quantity")
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.