Beispiel #1
0
 public CExams()
 {
     cexams = new CSemestr[StringEquivalents.Nsemestrs];
     for (int i = 0; i < StringEquivalents.Nsemestrs; i++)
     {
         cexams[i] = new CSemestr(0, i, 1);
     }
 }
Beispiel #2
0
 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);
     }
 }
Beispiel #3
0
        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);
        }
Beispiel #4
0
        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);
        }