I would like to create a list variable of items from another list. So lets say I have a list of 100 items I would like to pull items 25 – 35 and put them inside of another list. is there a way of doing this without calling a big for statement and pulling out the element one by one and putting that into a list.
Share
you can use
.Skipand.TakefromSystem.Linq….Like this:
and if you need use ToList on the result to get another list