radiobutton1 && radiobutton2
. Or some error about checked()
. Or some error about trying to compare radiobutton2
with check()
Are you calling a method or just trying to close the if expression? Are those control names or boolean variables?if (radioButton1 && radioButton2 != checked()
if (!radioButton1.Checked && !radioButton2.Checked)