I am getting this exception when I am trying to Delete the item from Dictionary which I am inheriting from INotifyCollectionChanged. When I am deleting for first time I am able to delete the item, just after that if i am trying to delete this exception comes though when I try to look into the collection the item is there at that position(2 in this case). What could be wrong here. Adding the code snippet where the exception is coming
CollectionChanged(this, new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Remove, new KeyValuePair(key, value), i));