Microsoft
70-516 · Question #159
70-516 Question #159: Real Exam Question with Answer & Explanation
Sign in or unlock 70-516 to reveal the answer and full explanation for question #159. The question stem and answer options stay visible for context.
Question
The application must provide a component part list for any product. The component part list must give the quantity of each distinct part that is required to manufacture that product. You need to create a LINQ expression that delivers a a result of type IEnumerable<Tuple<int,Part>> to meet the requirements. Which expression should you use?
Options
- AIEnumerable<Tuple<int, Part>> result = part.Children
- BIEnumerable<Tuple<int, Part>> result = part.Descendants
- CIEnumerable<Tuple<int, Part>> result = part.Descendants
- DIEnumerable<Tuple<int, Part>> result = part.Children
- EIEnumerable<Tuple<int, Part>> result = part.Descendants
Unlock 70-516 to see the answer
You've previewed enough free 70-516 questions. Unlock 70-516 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.