I need to cast an IList
to a Collection
(System.Collections.ObjectModel
)
How do you go about this?
Collection<MyClass> coll = new Collection<MyClass>(myIList);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With