Ejemplo n.º 1
0
 public override bool Equals(object obj)
 {
     try
     {
         DoubleKey <TKey1, TKey2> other = (DoubleKey <TKey1, TKey2>)obj;
         return(this.Equals(other));
     }
     catch
     {
         return(false);
     }
 }
Ejemplo n.º 2
0
 public bool Equals(DoubleKey <TKey1, TKey2> other)
 {
     return(object.Equals(Key1, other.Key1) && object.Equals(Key2, other.Key2));
 }