Is it possible to store the checkbox object into an array? I haven't found anything on this because I dont think you can.
Printable View
Is it possible to store the checkbox object into an array? I haven't found anything on this because I dont think you can.
I'm not sure which checkbox you are talking about. Nevertheless if you are talking a CheckBox control you have to understand that it is a .NET class like any other. Hency you can put it any collection structure you wish. For example...
Code:var boxes = new CheckBox[] { new CheckBox(), new CheckBox() };