title: Equality between two enumerables
body: <p>I have two enumerables with the exact same reference elements, and wondering why Equals wouldn't be true.</p>
  
  <p>As a side question, the code below to compare each element works, but there must be a more elegant way</p>
  
  <pre><code>var other = (ActivityService) obj;
  if (!AllAccounts.Count().Equals(other.AllAccounts.Count())) return false;
  for (int i = 0; i &lt; AllAccounts.Count(); i++) {
      if (!AllAccounts.ElementAt(i).Equals(other.AllAccounts.ElementAt(i))) {
          return false;
      }
  }
  return true;
  </code></pre>