c# sublist from list code example
Example: c# list get sublist
myList.GetRange(firstIndex, Count);
// or
myList.GetRange(firstIndex, lastIndex - firstIndex);
myList.GetRange(firstIndex, Count);
// or
myList.GetRange(firstIndex, lastIndex - firstIndex);