コード例 #1
0
ファイル: Celcius.cs プロジェクト: roodiaz/programacion-2
        public static Celcius operator -(Celcius c, Kelvin k)
        {
            Celcius retorno = (c.GetGrados() - ((Celcius)k).GetGrados());

            return(retorno);
        }
コード例 #2
0
ファイル: Celcius.cs プロジェクト: roodiaz/programacion-2
        public static Celcius operator -(Celcius c, Fahrenheit f)
        {
            Celcius retorno = (c.GetGrados() - ((Celcius)f).GetGrados());

            return(retorno);
        }