Exemplo n.º 1
0
        public string Mostrar()
        {
            StringBuilder sb = new StringBuilder();

            sb.AppendLine((string)this);
            sb.AppendLine("El tipo es : " + tipo.ToString());
            return(sb.ToString());
        }
 public string Mostrar()
 {
     return
         ("\nNOMBRE: " + base._nombre +
          "\nCANTIDAD DE EMPLEADOS: " + base._cantidadDeEmpleados +
          "\nCOMERCIANTE: " + _comerciante + //ARREGLAR
          "\nPRECIO ALQUILER: " + base._precioAlquiler +
          "\nTipo: " + tipo.ToString());
 }