int _correct = 0; int _wrong = 0; if (text2.Text == "2") { _correct++; } else { _wrong++; } if (text3.Text == "5") { _correct++; } else { _wrong++; } . . . . .
lblCorrect.Visible = true; lblCorrect.Text = _correct.ToString(); lblWrong.Visible = true; lblWrong.Text = _wrong.ToString();
int _correct = 0; int _wrong = 20; if (text2.Text == "2") { _correct++; _wrong--; } if (text3.Text == "5") { _correct++; _wrong--; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)