In a single Oftype you can do several searches like TextBox, ComboBox, etc.
foreach (Control c in frm.Controls.OfType<TextBox>())
I want to achieve something like this
foreach (Control c in frm.Controls.OfType<TextBox || TextBox || CheckBox>())
Can you search through several controls?