public Student( int id, string firstName, string lastName, string email, Genders gender, StudentTypes studentType, int examResult, int homeworkSent, int homeworkEvaluated, float teamworkScore, float attendances, float bonus) { this.Id = id; this.FirstName = firstName; this.LastName = lastName; this.Email = email; this.Gender = gender; this.StudentType = studentType; this.ExamResult = examResult; this.HomeworkSent = homeworkSent; this.HomeworkEvaluated = homeworkEvaluated; this.TeamworkScore = teamworkScore; this.Attendances = attendances; this.Bonus = bonus; this.Result = CalculateResult(); }