Use 'a'
and not "a"
, the difference between char
and string
is subtle here but substantial.
solved Error Operator ‘==’ cannot be applied to operands of type ‘char’ and ‘string’ [closed]
Use 'a'
and not "a"
, the difference between char
and string
is subtle here but substantial.
solved Error Operator ‘==’ cannot be applied to operands of type ‘char’ and ‘string’ [closed]