i am new to c# so be more specific when i go to code with if statment i always get an error on else/else if CS1513 } EXPECTED
{
{
{
string Username1231 = "S1L3nT";
string Password1231 = "Munibf123";
{
if (TextBox1.Text == "") ;
{
MessageBox.Show("Please Enter Password");
}
}
else if (TextBox1.Text == Username1231) ;
}
MessageBox.Show("Good");
}
else
{
MessageBox.Show("Wrong Password");
}
}
Aucun commentaire:
Enregistrer un commentaire