I using 5 radiobuttons in a GroupBox and 5 checkbox controls.
I looking to find wich index of the group of radiobutton and the index of the checkbox group
C# (and .NET generally) does not support control arrays in the way VB6 did (which is what I think you are comparing to).
If you need an index, how about storing the index value in the Tag property of each radio button and check box. You can then loop through the controls, and when you find a selected item you can get the index from the Tag.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.