J
Joseph
I would like to know how to implement several Radiobuttons using the Switch
statement instead of If/Else conditional statement. For instance, if I have
the following:
if (RadioButton1.Checked = true)
{
//Do something;
}
elseif(RadioButton2.Checked = true)
{
//Do something else;
}
elseif(RadioButton3.Checked = true)
{
//Do something special;
}
Thanks
statement instead of If/Else conditional statement. For instance, if I have
the following:
if (RadioButton1.Checked = true)
{
//Do something;
}
elseif(RadioButton2.Checked = true)
{
//Do something else;
}
elseif(RadioButton3.Checked = true)
{
//Do something special;
}
Thanks