I'd like pick out a List the items 5 - 10 and create a new list of the same type. Using Linq I thought of:
List<xyz> collection = new <List>();
//fill collection with lots of data
collection.AddRange( ... );
//Downsize here
var q = from e in collection select e;
q.ToArray();
List<xyz> smallcollection = new List<xyz>()
smallcollection = q.Skip(5).Take(5);
What am I doing wrong?