If you have an object that contains a List or IList, and you need to convert it in to a Collection, here is how you can do it in a single line.
var foo = new Collection<FooList>(fooList);
If you have an object that contains a List or IList, and you need to convert it in to a Collection, here is how you can do it in a single line.
var foo = new Collection<FooList>(fooList);