DRAG DROP
You have an application that uses paging. Each page displays 10 items from a list.
You need to display the third page. (Develop the solution by selecting and ordering the
required code snippets. You may not need all of the code snippets.)
Answer: See the explanation.
Explanation:
Box 1: var page = items
Box 2: .Skip (20)
Box 3: .Take (10)Note:
Skip the first two page (first 20 items) then select the next page (next 10 items),
* Use the Take operator to return a given number of elements in a sequence and then skip
over the remainder.
Use the Skip operator to skip over a given number of elements in a sequence and then
return the remainder.
var page = items
.Skip(20)
.Take(10)
4,8,3