 <p>Exactly like the error states, you are attempting to compare a <a href="https://msdn.microsoft.com/en-us/library/c8f5xwh7.aspx" rel="nofollow"><code>bool</code></a> (<code>xx.Value</code>) with a <a href="https://msdn.microsoft.com/en-us/library/362314fe.aspx" rel="nofollow"><code>string</code></a> (<code>"rcat"</code>) which is not allowed for obvious reasons.</p>