radioButton 取值解决思路

radioButton取值radioButton1,radioButton2如何设置radioButton的取值取的时候怎么取?本人初学C#不会大家

radioButton 取值
radioButton1,radioButton2
如何设置radioButton的取值   取的时候怎么取?
本人初学C#   不会   大家给讲讲     在线等

[解决办法]
if(radioButton1.Checked)
{
...
}
else
{...}


[解决办法]
if(RadioButton1.checked)
string Values=Radio.Button1.text;