internal void addGrade(Grade grade) { Contract.Requires(grade != null); _grades.Add(grade); }
internal void calcFinalGrade(Coeficient coeficient) { var valCoeficient = coeficient.Fractie; finalGrade = new Grade(Math.Round(valCoeficient * examGrade.GradeValue + (1 - valCoeficient) * activityGrades.calculateAverage.GradeValue)); }