//working solution
char e = 'y';
if (e.Equals('y'))
{
//your code
}This code snippet describe for Operator '==' Cannot be Applied to Operands of Type 'char' and 'string'.
This code snippet describe for Operator '==' Cannot be Applied to Operands of Type 'char' and 'string'.
//working solution
char e = 'y';
if (e.Equals('y'))
{
//your code
}