Esempio n. 1
0
        public void MostrarParaiso()
        {
            StringBuilder sb = new StringBuilder();

            sb.AppendLine("Fecha de inicio de actividades: " + fechaDeInicioActividades);
            sb.AppendLine("Lugar de radicacion: : " + this._lugar);
            sb.AppendLine("Cantidad de cuentas: " + this._listadoCuentas.Count);

            sb.AppendLine("--------------------------------- DETALLE DE CUENTAS ---------------------------------");

            foreach (CuentaOffShore cuenta in this._listadoCuentas)
            {
                sb.AppendLine("" + Cliente.RetornarDatos(cuenta.getDueño()));
                sb.AppendLine("Numero de cuenta de Cuenta : " + (int)cuenta);
                sb.AppendLine("Saldo : " + cuenta.getSaldo());
            }
            Console.WriteLine(sb.ToString());
        }
Esempio n. 2
0
 public static string RetornarDatos(Cliente UnCliente)
 {
     return(UnCliente.RetornarDatos());
 }