/// <summary> /// Plays the role of a hash function of a certain type. /// </summary> /// <returns>Integer number</returns> public override int GetHashCode() { return(Red.GetHashCode() ^ Yellow.GetHashCode() ^ Blue.GetHashCode()); }
public override int GetHashCode() { return(Cyan.GetHashCode() ^ Magenta.GetHashCode() ^ Yellow.GetHashCode() ^ Black.GetHashCode()); }
/// <summary> /// Plays the role of a hash function of a certain type. /// </summary> /// <returns>Integer number</returns> public override int GetHashCode() { return(Cyan.GetHashCode() ^ Magenta.GetHashCode() ^ Yellow.GetHashCode() ^ Keycolor.GetHashCode()); }