ObservableCollection转换List
ObservableCollection<T> o; // 假设已经赋值 List<T> list = new List<T>(o.ToList());
List转换ObservableCollection
List<T> list; // 假设已经赋值 // 方法1 ObservableCollection<T> o = new ObservableCollection<T>(list); //方法2 ObservableCollection<T> o = new ObservableCollection<T>(); list.Foreach(l => o.Add(l));