I am creating password enable/disable show option in my Windows Forms. I drew this up, and it is not working. Any reason why? There are not errors shown. The password fields are simply not changing when the button is clicked.
if (textBox3.PasswordChar == '*')
{
textBox3.PasswordChar = '\0';
}
else if (textBox3.PasswordChar == '\0')
{
textBox3.PasswordChar = '*';
}