I would not recommend directly deleting items from the ListBox (I'm surprised that the error does not occur, since listBox.Items returns a read-only collection, so calling Remove on it is not possible if I'm not mistaken). In any case, you should focus on managing your backup collection.
For example, if you save your objects in an ObservableCollection , it automatically notifies the user interface (ListBox in this case) that the item has been deleted and updates the user interface for you. This is because the ObservableCollection implements the INotifyPropertyChanged and INotifyCollectionChanged by default, so when something in the collection changes, it fires an event that reports an update to the user interface control.
source share