I have one list which has more than 2k records. I want that each time first 100 records must get fetched and next time next 100 records must be fetched and so on . I am using take method of list but it is giving me first 100 only every time. Below is my query:
task = dataAccessObjects.GetDataToArchive();
foreach(var rec in task)
{
var f = task.Take(100);
}