Why does ObservableCollection<T> implement INotifyPropertyChanged?
问题 In .NET 4.0, there isn't a single property defined by ObservableCollection<T> nor does it override any property of its parent or interfaces. So why does ObservableCollection<T> implement INotifyPropertyChanged ? One reason I can think of is that it makes it easier for subclasses to define their own properties and use the OnPropertyChanged method implemented by ObservableCollection<T> . But is this the main reason? 回答1: Of the properties Item , Items and Count , only Item actually has a setter