I have been creating arrays for different controls as follows, e.g:
private TextBox[] Array_TextBoxes;
private CheckBox[] Array_CheckBoxes;
private RadioButtonList[] Array_radioButton;
Array_TextBoxes= new TextBox[4];
Array_CheckBoxes= new CheckBox[5];
Array_radioButton= new RadioButtonList[10];
Is there any ways of creating them so that I do not need to specify the size/length? I.e. is it possible to make these control arrays variable sized?
Thanks!
System.Collections.Generic.List<T>
- msdn.microsoft.com/en-us/library/… – Tim Medora Apr 16 at 23:17