I want my program to check to see if my string says a certain thing, like a password. I've tried it like this, but it says "comminity call missing argument list". Here's my code.
the problem is in the 3rd line.
Code:
String^ password = System::Convert::ToString(textBox1->Text);
if (password->Equals == "open sesame");
MessageBox::Show("Welcome!");
else
MessageBox::Show("Go away!");
Comment