tags:

views:

52

answers:

1

I am having a List of say 100 objects. Now I want to get object from 50th to 60th. How can I do it. I except there will be a simple linq query or lambda expression that I can use. But I am very new to LINQ and could not find a way searching.

+3  A: 

You can use Skip and Take:

var range = objectList.Skip(50).Take(10);
CMS