title: LINQ with ObservableCollection
body: <p>I have a ObservableCollection property that I need to manipulate with LINQ.</p>
  
  <p>What I want to do is take the first collection and remove items from another collection, based on the item's property.</p>
  
  <p>This is what I have so far:</p>
  
  <pre><code>ItemsObservableCollection = ItemsObservableCollection.Where(i=&gt;!selectedItemsObservableCollection.Any(y=&gt; y.name == i.Name);
  </code></pre>
  
  <p>If I do it this way, I get a casting error that says I cannot cast an IEnumerable to a ObservableCollection. If I save the value into a var, it does exactly what I want:</p>
  
  <pre><code>    var collectionItems= ItemsObservableCollection.Where(i=&gt;!selectedItemsObservableCollection.Any(y=&gt; y.name == i.Name);
  </code></pre>
  
  <p>but I need it to update the ObservableCollection property.</p>