See I m just showing one idea how to do it
bool ValueExecution()
{
if(radioButtonYes.IsChecked) return true;
else if(radioButtonNo.IsChecked) return false;
return false;
}
protected void Submit_Clicked(object sender, EventArgs e)
{
if(ValueExecution()){
Response.Write("You have clicked yes radio button");
};
else {
Response.Write("You have clicked no radio button");
}
}