title: Fast HashCode of a Complex Object Graph
body: <p>I have a pretty <strong>complex object</strong> and I need to get <strong>uniqueness</strong> of these objects. One solution can be done by overriding <code>GetHashCode()</code>. I have implemented a code noted below:</p>
  
  <pre><code>public override int GetHashCode()
  {
      return this._complexObject1.GetHashCode() ^
             this._complexObject2.GetHashCode() ^
             this._complexObject3.GetHashCode() ^
             this._complexObject4.GetHashCode() ^
             this._complexObject5.GetHashCode() ^
             this._complexObject6.GetHashCode() ^
             this._complexObject7.GetHashCode() ^
             this._complexObject8.GetHashCode();
  }
  </code></pre>
  
  <p>These complex objects also <em>overrides</em> <code>GetHashCode()</code> and does <em>similar operations</em>.</p>
  
  <p><em>My project</em> requires uniqueness of these objects which I deal with these very <strong>frequently</strong>, and data inside also <strong>changes</strong> in <strong>various ways and places</strong>.</p>
  
  <p><em>I need a faster way to find uniqueness of these complex objects, which need to consider <strong>performance</strong> and <strong>memory</strong>.</em></p>
  
  <p><em>Thanks in advance<br>
  Munim</em></p>