list range

  1. Z

    How to split my list with c# or get 0 to 10 lines (line range) from my list until the last line?

    I have a list which is about 50 lines (random number of lines, like 55, 57, 60 etc) I need to get 0-10 lines from this list each time, repeat the progress until it has no lines to fetch. Could anyone share the c# code to get 0-10 from a list, please? In other words, I need to get line range...