public CExams() { cexams = new CSemestr[StringEquivalents.Nsemestrs]; for (int i = 0; i < StringEquivalents.Nsemestrs; i++) { cexams[i] = new CSemestr(0, i, 1); } }
public CExams(byte specialization, byte course) { cexams = new CSemestr[StringEquivalents.Nsemestrs]; for (int i = 0; i < StringEquivalents.Nsemestrs; i++) { cexams[i] = new CSemestr(specialization, i, course); } }
public CSemestr Clone() { CSemestr res = new CSemestr(); for (int i = 0; i < res.cexams.Length; i++) { res.cexams[i] = new Cexam(this.cexams[i].Subject, this.cexams[i].Mark); } return(res); }
public string GetSem(int s) { CSemestr sem = this[s]; string res = ""; for (int i = 0; i < StringEquivalents.NExams; i++) { res += sem[i].ToString() + " "; } return(res); }