public override bool Equals(object obj) { if (!(obj is KarmaChange other)) { return(false); } // We don't care if the Name is different, because it could be "Aaron" or "Aaron Rosenberger"...same person. return(KarmaString.Equals(other.KarmaString) && UniqueId.Equals(other.UniqueId)); }
public override int GetHashCode() { return(KarmaString.GetHashCode() * 17 + UniqueId.GetHashCode()); }