title: Finding the list of common objects between two lists
body: <p>I have list of objects of a class for example:</p>
  
  <pre><code>class MyClass
  {  
     string id,
     string name,
     string lastname
  }
  </code></pre>
  
  <p>so for example: <code>List&lt;MyClass&gt; myClassList;</code></p>
  
  <p>and also I have list of string of some ids, so for example: </p>
  
  <pre><code>List&lt;string&gt; myIdList;
  </code></pre>
  
  <p>Now I am looking for a way to have a method that accept these two as paramets and returns me a <code>List&lt;MyClass&gt;</code> of the objects that their <code>id</code> is the same as what we have in <code>myIdList</code>.</p>
  
  <p>NOTE: Always the bigger list is <code>myClassList</code> and always <code>myIdList</code> is a smaller subset of that.
  How can we find this intersection?</p>