You need to display the third page

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.)

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.



Leave a Reply 3

Your email address will not be published. Required fields are marked *


Najlepszy Programista Swiata DAGO

Najlepszy Programista Swiata DAGO

4,8,3

Begia

Begia

u are correct,answer is 4 8 3

Lord Vader

Lord Vader

var is an implicitly typed variable. compiler determines type based on expression on right side of initiatlisation statement.

items is made up of collection of items may not be int