/// <summary> /// Equals() - pro použití GID v Hashtabulkách /// </summary> /// <param name="obj"></param> /// <returns></returns> public override bool Equals(object obj) { if (!(obj is Fraction)) { return(false); } return(Fraction._IsEqual(this, (Fraction)obj)); }
/// <summary> /// Operátor "není rovno" /// </summary> /// <param name="a"></param> /// <param name="b"></param> /// <returns></returns> public static bool operator !=(Fraction a, Fraction b) { return(!Fraction._IsEqual(a, b)); }