Пример #1
0
        public sealed override bool Equals(object obj)
        {
            SimpleNumberQuestionType t = null;

            try {
                t = (SimpleNumberQuestionType)obj;
            } catch (Exception ex) {
                return(false);
            }
            return(this.HashCode == t.HashCode);
        }
Пример #2
0
 public SimpleNumberQuestionType(SimpleNumberQuestionType que)
 {
     this._description = que._description;
     this._answer      = que._answer;
     this._hashcode    = que._hashcode;
 }