get a sublist from a list c# 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);