Exemplo n.º 1
0
        public override string ToString()
        {
            string mostrar = "";

            for (int i = 0; i < alumnos.Count; i++)
            {
                mostrar += Alumno.Mostrar(alumnos[i]) + "\n";
            }
            return(mostrar);
        }
Exemplo n.º 2
0
        public override string ToString()
        {
            string lista = "";

            foreach (Alumno item in this.GetAlumnos)
            {
                lista = lista + Alumno.Mostrar(item) + "\n";
            }
            return(lista);
        }
Exemplo n.º 3
0
 public override string ToString()
 {
     return(Alumno.Mostrar(this));
 }
Exemplo n.º 4
0
 public string Mostrar()
 {
     return(Alumno.Mostrar(this) + " - Nota:" + this.Nota.ToString());
 }
 public string Mostrar()
 {
     return(Alumno.Mostrar(this) + " nota: " + this.nota);
 }
Exemplo n.º 6
0
 public string Mostrar()
 {
     return(Alumno.Mostrar(this) + ", " + this.nota.ToString());
 }
Exemplo n.º 7
0
 //sobrecarga del ToString
 public override string ToString()
 {
     return(Alumno.Mostrar(this));//llama al mostrar de alumno y muestra el elem
 }