public override int GetHashCode() { unchecked { var hashCode = String0.GetHashCode(); hashCode = (hashCode * 397) ^ String1.GetHashCode(); hashCode = (hashCode * 397) ^ String2.GetHashCode(); hashCode = (hashCode * 397) ^ String3.GetHashCode(); hashCode = (hashCode * 397) ^ String4.GetHashCode(); hashCode = (hashCode * 397) ^ String5.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { int hash = 1; if (String1.Length != 0) { hash ^= String1.GetHashCode(); } if (String2.Length != 0) { hash ^= String2.GetHashCode(); } if (String3.Length != 0) { hash ^= String3.GetHashCode(); } if (String4.Length != 0) { hash ^= String4.GetHashCode(); } return(hash); }