public static void NotasAlumno(Aula a, int alum) { int[] notasAlum = a.NotasAlumno(alum); Console.Write("{0, 24} |", " "); for (int i = 0; i < a.asignaturas.Length; i++) { Console.Write(i < a.asignaturas.Length - 1 ? "{0,2}. {1,11} |" : "{0,2}. {1,11} |\n", i, Enum.GetName(typeof(Asignaturas), i)); } Console.Write("{0,2}. {1, 20} |", alum, a.alumnos[alum]); for (int j = 0; j < notasAlum.GetLength(0); j++) { Console.Write(j < notasAlum.GetLength(0) - 1 ? "{0,15} |" : "{0,15} |\n", notasAlum[j]); } }