示例#1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="e"></param>
        /// <param name="d"></param>
        /// <returns></returns>
        public static Euro operator -(Euro e, Dolar d)
        {
            Euro aux = (Euro)d;

            return(aux.GetCantidad() - e.GetCantidad());
        }
示例#2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="e"></param>
        /// <param name="p"></param>
        /// <returns></returns>
        public static Euro operator -(Euro e, Peso p)
        {
            Euro aux = (Euro)p;

            return(aux.GetCantidad() - e.GetCantidad());
        }