Пример #1
0
        private string Mostrar()
        {
            StringBuilder sb = new StringBuilder();

            sb.Append(Persona.Mostrar(this));
            sb.AppendLine("Legajo  : " + this._legajo);
            sb.AppendLine(this.PosicionSocietaria()); //"Puesto  : " + this._puesto.ToString());
            sb.AppendLine("Salario : $" + this._salario);
            sb.AppendLine("******************");

            return(sb.ToString());
        }
Пример #2
0
        public string Mostrar()
        {
            StringBuilder sb = new StringBuilder();

            sb.AppendLine("Nombre y apellido  : " + Persona.Mostrar(this));
            //sb.AppendLine("Apellido: " + base._apellido);
            sb.AppendLine("Legajo  : " + this._legajo);
            sb.AppendLine(this.PosicionSocietaria());
            sb.AppendLine("Salario : $" + this._salario);
            sb.AppendLine("******************");

            return(sb.ToString());
        }
Пример #3
0
        private string Mostrar()
        {
            StringBuilder sb = new StringBuilder();

            //sb.AppendLine("Nombre  : " + base._nombre);
            //sb.AppendLine("Apellido: " + base._apellido);
            sb.AppendLine(Persona.Mostrar(this));
            sb.AppendLine("Legajo  : " + this._legajo);
            sb.AppendLine("Puesto  : " + this._puesto.ToString());
            sb.AppendLine("Salario : $" + this._salario);
            sb.AppendLine("******************");

            return(sb.ToString());
        }