I have an array
Para[] Day = new Para[8]; from the structure:
struct Para //Описываем структуру с полями: { public int para_number; //Номер пары public string para_name; //Название предмета public int room_number; //Номер кабинета public string teacher_name; //Имя преподавателя } there is still an array
Day[] Week = new Day[5]; How do I get and set the values of the elements?
For Day[i].para_name; It's clear. But for Week[i].Day[j].para_name it does not work, exactly as for Week[i][j] .
{}button, and not by single quotes. Secondly, you should provide theDaycode, otherwise you cannot say what the problem is. - AivanF.Day[] Week = new Day[5];you do not give an error? - Mirdin