Collection<T> is a wrapper around an
IList<T>. The list may be attached in constructor. There is no other method provided, as far as I know.
ObservableCollection<T> is derived from
Collection<T>, you cannot attach an
IList<T>. An instance may be constructed from a
List<T>, not from
IList<T>, and the list is copied.
- Is this inconsistency a bug?
- How do I attach my own
IList<T>implementation to an
ObservableCollection<T>? The solution must work with the standard