title: LINQ query syntax
body: <p>I have two different lists where one is a bunch of ID's as in a <code>List&lt;int&gt; idsList</code>, the other however is a list of objects like <code>List&lt;MyObject&gt; myObjectList</code> where the object looks like this:</p>
  
  <pre><code>class MyObject{
      private List&lt;int&gt; ids;
  
       public MyObject(List&lt;int&gt; ids){
        this.ids = ids;
       }
  
       public List&lt;int&gt; Ids{
         get{
            return ids;
         }
       }
  }
  </code></pre>
  
  <p>As you can see each object can contain one or multiple IDs (never zero or null ids). So what I need at the end is to know what objects in myObjectList have any id(s) from my idsList. 
  So far if I do:</p>
  
  <pre><code>var ids = from g in onScreen where g.Ids.Contains(myIntVariable) select g;
  </code></pre>
  
  <p>it would give me a list of the object(s) that contain myIntVariable. What I do not know how to do is to match the content of the idsList with the list in MyObject. 
  Thanks! </p>