The expression to the right of the logical operator "{0}" must return a Boolean result. Currently it evaluates to type "{1}". ...