Beispiel #1
0
 public override int GetHashCode()
 {
     return(EmailOrNumber.GetHashCode() + ID.GetHashCode() + Number.GetHashCode() + Type.GetHashCode());
 }
Beispiel #2
0
        public bool Equals(ContactInfos other)
        {
            ContactInfos info = (ContactInfos)other;

            return(EmailOrNumber.Equals(info.EmailOrNumber) && ID.Equals(info.ID) && Number.Equals(info.Number) && Type.Equals(info.Type));
        }