hi everyone i have this problem, what i want my program to do is if you type in anything other then Europe then it says password incorrect(work in progress) but it keep comeing up with this problem “cannot convert type string to bool” i have my code right here.
private void button1_Click(object sender, EventArgs e)
{
string firstName;
firstName = textBox1.Text;
string messageText;
messageText = "Your name is: ";
MessageBox.Show("Login(password) : " + firstName);
if (messageText = ("Europe"));
}