static void main(string[] args)
{
int nu;
Console.writeline("Enter your E-Mail:")
string mail = Convert.ToString(Console.Read());
nu = mail.lenght;
for(int i = 0; i < nu; i++)
{
char a = mail;
string q = (a = '@')? "true" : "false";
Console.writeline({0}, q);
}
}
Line of error: string q = (a = '@')? "true" : "false";
Error: cannot implicity convert type 'char' to 'bool'.