/// <summary> /// /// </summary> /// <param name="d"></param> /// <param name="e"></param> /// <returns></returns> public static Dolar operator -(Dolar d, Euro e) { Dolar aux = (Dolar)e; return(d.GetCantidad() - aux.GetCantidad()); }
/// <summary> /// /// </summary> /// <param name="d"></param> /// <param name="p"></param> /// <returns></returns> public static Dolar operator -(Dolar d, Peso p) { Dolar aux = (Dolar)p; return(d.GetCantidad() - aux.GetCantidad()); }