I have a form that has many dynamically generated checkboxes. At runtime, how can I iterate through each of them so I can get their value and IDs?
Like this, maybe (if it's in Windows Forms):
foreach(var checkBox in myForm.Controls.OfType()) { //Do something. }