public override bool Equals(object obj) { TodoItem item = obj as TodoItem; return(item?.GetHashCode() == this.GetHashCode()); }