How can I convert a List<MyObject>
to an IEnumerable<MyObject>
and then back again?
I want to do this in order to run a series of LINQ statements on the List, e. g. Sort()
How can I convert a List<MyObject>
to an IEnumerable<MyObject>
and then back again?
I want to do this in order to run a series of LINQ statements on the List, e. g. Sort()