Ejemplo n.º 1
0
 /// <summary>
 /// Validates the result.
 /// </summary>
 /// <returns></returns>
 protected override bool ValidateResult()
 {
     return(FirstNumber.CompareTo(SecondNumber) == Result);
 }
Ejemplo n.º 2
0
 public static bool operator !=(FractionalNumber FirstNumber, FractionalNumber SecondNumber)
 {
     return(FirstNumber.CompareTo(SecondNumber) != 0);
 }