June 17, 2010 10:16 by
bryan
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.
1
|
var foo = new Collection<FooList>(fooList); |
e31bd35a-8731-4b79-bda2-9ad46d403dfc|1|1.0