示例#1
0
        public static bool operator !=(Fahrenheit f, Kelvin k)
        {
            Fahrenheit f2 = (Fahrenheit)k;

            return(Math.Abs(f.getCantidad() - f2.getCantidad()) > 0.001);
        }
示例#2
0
        public static bool operator !=(Fahrenheit f, Celcius c)
        {
            Fahrenheit f2 = (Fahrenheit)c;

            return(Math.Abs(f.getCantidad() - f2.getCantidad()) > 0.001);
        }