public decimal AcceptedApplicantStandardizedScoreDifference() { int totalDifference = AcceptedApplicants .Sum(s => s.StandardizedTest - s.ScoreNeeded); if (totalDifference == 0) { return(0); } return(totalDifference / (AcceptedApplicants.Count)); }
public void ApplicantAcceptDeclineListSeparator() { while (ApplicantStack.Count > 0) { Applicant applicant = ApplicantStack.Pop(); if (!applicant.AcceptedMatch) { DeclinedApplicants.Add(applicant); } else { AcceptedApplicants.Add(applicant); } } }