RadioButtion always return
true
when checked and return
false
if uncheck.
make a good practice for naming controls.
According to you if there are
radio buttons
and
check boxes
in your form better to name like
rbGender.Checked
rather using
btnButton1.Checked
.
if(rbGender.Checked==true)
{
}
else
{
}
mark it answer if solves your problem and dont forget to rate..
Thanks