title: What is the shortest way to compare if two IEnumerable<T> have the same items in C#?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4576723/test-whether-two-ienumerablet-have-the-same-values-with-the-same-frequencies">Test whether two IEnumerable&lt;T&gt; have the same values with the same frequencies</a>  </p>
  </blockquote>
  
  
  
  <p>I wrote</p>
  
  <p><strong>UPDATED - correction:</strong></p>
  
  <pre><code>static bool HaveSameItems&lt;T&gt;(this IEnumerable&lt;T&gt; self, IEnumerable&lt;T&gt; other)
  {
      return ! 
      ( 
          other.Except(this).Any() ||
          this.Except(other).Any()
      );
  }
  </code></pre>
  
  <p>Isn't there a shorter way?
  I know there is <code>SequenceEqual</code> but the order doesn't matter for me.</p>