public CSemestr(byte spec, int n, byte course) { cexams = new Cexam[StringEquivalents.NExams]; SetFilling(n, course); for (int i = 0; i < StringEquivalents.NExams; i++) { cexams[i] = new Cexam((byte)((n + spec + i) % StringEquivalents.SubjectNames.Length), 0); } }
public CSemestr() { cexams = new Cexam[StringEquivalents.NExams]; for (int i = 0; i < StringEquivalents.NExams; i++) { SetFilling(i, 1); cexams[i] = new Cexam(0, 0); } }