title: Remove selected items from Listbox (ObservableCollection)
body: <p>I am trying to remove selected items in a ListBox which is bound to ObservableCollection.</p>
  
  <pre><code>var selectedFiles = MyList.SelectedItems;
  foreach (cListEntry item in selectedFiles)
  {
     _myList.Remove(item);
  }
  </code></pre>
  
  <blockquote>
    <p>"Collection was modified; enumeration operation may not execute"</p>
  </blockquote>
  
  <p>What is the proper way of doing this?</p>