How to convert IEnumerable to ObservableCollection?
To make things even more simple you can create an Extension method out of it.
public static class Extensions
{
public static ObservableCollection ToObservableCollection(this IEnumerable col)
{
return new ObservableCollection(col);
}
}
Then you can call the method on every IEnumerable
var lst = new List