Exemple #1
0
 public override bool Equals(object obj)
 {
     if (obj.GetType() == typeof(Purchase01))
     {
         Purchase01 compare = (Purchase01)obj;
         return(compare.KeyValue() == this.KeyValue());
     }
     else
     {
         return(base.Equals(obj));
     }
 }