title: Concatenate collection from property
body: <pre><code>class oA {
     int type;
     List&lt;oB&gt; list;
  }
  
  class oB {
     int id,
     decimal price,
     string name
  }
  </code></pre>
  <p>somewhere you get a list from oA objects.</p>
  <p>What is the correct way to have 1 list of oB objects from all the oA objects of a certain type?</p>
  <p>i was thinking something like this</p>
  <pre><code>var myoAs = new List&lt;oA&gt;();
  /* Load data from wherever */
  var myList =  myoAs.Where(x =&gt; x.type == 1).select(....)
  </code></pre>
  <p>Who knows the anwer how to get a complete list of all the oB objects (and even remove duplicates in the linq as well if possible)</p>