public override bool Equals(object obj) { var other = obj as MultipleChoiceQuestion; if (obj == null || !base.Equals(other)) { return(false); } return(OperationHelper.CheckEquality(CorrectAnswers, other.CorrectAnswers)); }
public override bool Equals(object obj) { var other = obj as ChooseAnswerQuestion; if (obj == null || !base.Equals(other)) { return(false); } return(OperationHelper.CheckEquality(Answers, other.Answers)); }
public override bool Equals(object obj) { var other = obj as Exam; if (other == null) { return(false); } return(ExamId == other.ExamId && OperationHelper.CheckEquality(Questions, other.Questions)); }