title: C# override Dictionary ContainsKey
body: <p>I just can't find any proper piece of code to do what i need.</p>
  
  <p>Im using <code>Dict.ContainsKey</code> but due to the fact im always creating the Key i need to look for, i always get false for the ContainsKey (because hashKey is different and im creating the key i want to check all the time).</p>
  
  <p>can someone please advise how to override Contains key or how to handle keys comparing in this situation ?
  My dictionary Looks like 
  <code>Dictionary&lt;someObj, int&gt;</code></p>
  
  <pre><code>public class someObj
  {
      public int someobjParam {get;set;}
      public int someobjParamTwo {get;set;}
  }
  </code></pre>