Beispiel #1
0
        public static bool operator !=(Celsius c, Kelvin k)
        {
            Celsius aux = (Celsius)k;

            if (c.GetCantidad() != aux.GetCantidad())
            {
                return(true);
            }

            return(false);
        }
Beispiel #2
0
        public static bool operator !=(Celsius c, Fahrenheit f)
        {
            Celsius aux = (Celsius)f;

            if (c.GetCantidad() != aux.GetCantidad())
            {
                return(true);
            }

            return(false);
        }