title: Intersection of two lists using LINQ
body: <p>I have a User called admin who has a list of Companys.  I want to return a list of Users who have one or more of the same Companys.  I am using Linq using this query but I'm not sure why it is not working.  I don't really understand what the .Any() does but if I don't include it, the program has syntax errors.  Here is my attempt: </p>
  
  <pre><code>public List&lt;User&gt; GetUsers(User admin)
  {
      return Users.Where(user=&gt;user.Companys.Intersect(admin.Companys)).Any()).ToList();
  
  }
  </code></pre>