Here is an example code
private void radioButton3_CheckedChanged(object sender, EventArgs e) { if(radioButton1.Checked // как здесь присвоить +1 к переменной result?) } But the variable itself is declared (maybe something was wrong there)
private void textBox1_TextChanged(object sender, EventArgs e) { int result = int.Parse(textBox1.Text); }