예제 #1
0
 public static bool operator ==(Dolar d, Peso p)
 {
     if (d._cantidad * Peso.GetCotizacin() == (float)p.GetCantidad())
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }