Issue with removing item from ObservableCollection, I am doing something wrong
问题 I have a DataGrid which contains informations about products, like NAME and PRICE, Items could be added or removed from DataGrid by Pressing DEL Key down (Remove case). I am using ObservableCollection as DataGrid source, and it looks like this: ObservableCollection<ProductTemporary> result = ProductsTempController.Instance.SelectAll(); Also there is button on my Window which is keeping sum of my product's prices updated all the time, when item is added sum is increased, when item is removed