Microsoft
70-515 · Question #89
You are developing an ASP.NET Web page that will display the median value from a sequence of integer values. You need to create an extension method to compute the median value. Which interface…
The correct answer is B. IEnumerable<T>. See the full explanation below for the reasoning.
Question
You are developing an ASP.NET Web page that will display the median value from a sequence of integer values. You need to create an extension method to compute the median value. Which interface should you add the extension method to?
Options
- AIComparer<T>
- BIEnumerable<T>
- CIEnumerator<T>
- DIEqualityComparer<T>
How the community answered
(32 responses)- A19% (6)
- B72% (23)
- C3% (1)
- D6% (2)
Community Discussion
No community discussion yet for this question.