how to validate radio button in c# code example Example: c# radio button auto checked radioButton1.AutoCheck = true;