If condition is false start checking again | How to do that? C#
I have a simple question.
Look at my code first
If (textbox1.text == "Don't Check")
{
MessageBox.Show("Textbox results were found")
}
else
{
// Else if textbox value is anything else then go back do the if
statement again
// I want to keep doing it forever until it recognizes that textbox
value is changed to "Don't Check"
}
It sounds to me like if it's a for loop? but I can't get it to work. I
just want if the value is false to start checking again until the value
becomes true. Any help would be appreciated
No comments:
Post a Comment