コード例 #1
0
        public override bool Equals(object obj)
        {
            if (!(obj is Exercise exercise))
            {
                return(false);
            }

            return(QuestionUrl.Equals(exercise.QuestionUrl));
        }
コード例 #2
0
 public override int GetHashCode()
 {
     return(QuestionUrl.GetHashCode());
 }