title: Select from list Lambda or linq
body: <p>Im trying to select from a collection in linq based on an id on an object of that collection.</p>
  
  <pre><code>List&lt;List&lt;myobject&gt;&gt; master = new List&lt;List&lt;myobject&gt;&gt;();
  List&lt;myobject&gt; m1 = new List&lt;myobject&gt;();
  List&lt;myobject&gt; m2 = new List&lt;myobject&gt;();
  
  
  master.Add(m1);
  master.Add(m2);
  m1.Add(new myobject{name="n1",id=1});
  m1.Add(new myobject{name="n2",id=2});
  m1.Add(new myobject{name="n3",id=3});
  
  m2.Add(new myobject{name="m1",id=1});
  m2.Add(new myobject{name="m2",id=2});
  m2.Add(new myobject{name="m3",id=3});
  </code></pre>
  
  <p>What i want is to, with lambda/linq, is to get all the objects with id=2 from the master.</p>
  
  <p>The senario im using this in is a mongodb with this structure.</p>
  
  <p>Thanks,</p>