How to convert IEnumerable to ObservableCollection?
IEnumerable
ObservableCollection
As per the MSDN
var myObservableCollection = new ObservableCollection<YourType>(myIEnumerable);
This will make a shallow copy of the current IEnumerable and turn it in to a ObservableCollection.
1.4m articles
1.4m replys
5 comments
57.0k users