Igman.DB.DAL.Question.Equals C# (CSharp) Method

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool
        public override bool Equals(object obj)
        {
            var ex = obj as Question;
            if (ex.QuestionTitle == this.QuestionTitle && this.QuestionID == ex.QuestionID)
                return true;
            else
                return false;
        }