Пример #1
0
        public static Celsius operator -(Celsius c, Kelvin k)
        {
            Celsius fResult = new Celsius(c.GetTemperature() - ((Celsius)k).GetTemperature());

            return(fResult);
        }
Пример #2
0
        public static Celsius operator -(Celsius c, Fahrenheit f)
        {
            Celsius fResult = new Celsius(c.GetTemperature() - ((Celsius)f).GetTemperature());

            return(fResult);
        }