When you do the Linq to Objects query, it will return you the type IEnumerable<Student>, you can use the
ToList()[
^] method to create a List<T> from an IEnumerable<T>:
var selected = from s in studentCollection
select s;
List<Student> selectedCollection = selected.ToList();
This may help.