Okay, right now I’ve got this statement and it’s working well (note I’ve already sorted the list before executing this statement so Reverse is simply allowing me to pop off the last page):
return results.Take(pageSize * pageIndex).Reverse().Take(pageSize);
But there’s got to be a more efficient way … can anybody show me the way?
Thanks!
There is a Skip operator.
For example: