public Horario() { this.aulas = new Leccion[50, Datos.listaAulas.Count]; this.bloques = new Leccion[50, Datos.listaCursos.Count]; this.profesores = new Leccion[50, Datos.listaProfesores.Count]; this.datocurso = new List <List <int[]> >(); for (int i = 0; i < Datos.listaCursos.Count; i++) { this.datocurso.Add(new List <int[]>()); for (int j = 0; j < Datos.listaCursos[i].Count; j++) { this.datocurso[i].Add(new int[2] { Datos.profesorDeClase(i, j), 0 }); } } }
public Horario() { this.aulas = new Leccion[50, Datos.listaAulas.Count]; this.bloques = new Leccion[50, Datos.listaCursos.Count]; this.profesores = new Leccion[50, Datos.listaProfesores.Count]; this.encargados = new List <List <int> >(); for (int i = 0; i < Datos.listaCursos.Count; i++) { this.encargados.Add(new List <int>()); for (int j = 0; j < Datos.listaCursos[i].Count; j++) { encargados[i].Add(Datos.profesorDeClase(i, j)); } } }