You want to page through an element sequence, displaying ten elements at a time, until you reach the end of the sequence.Which query extension method can you use to accomplish this task ?
Interview question and answer by:
Rajkatie | Posted on: 8/7/2012 | Category:
ADO.NET Interview questions | Views: 544 | |
Points: 40
Select from following answers:- Take and Skip
 - SelectMany
- Except
SelectMany projects a single output element into many output elements.
Use Except when you have a sequence of elements and you want to find out which elements don't exist in a second sequence.
Take takes x elements from the sequence. Use this in conjunction with the Skip method to skip over elements you've already seen.
Show Correct Answer |
Asked In: Many Interviews
|
Alert Moderator
Found interesting? Add this to: