I have windows application in c#
with a form with 7 text box that i want to check (and more controls in the form)
i want to check all this 7 text box , that the user enter in data , and this is a number
all this text box start with the same name
How can i do it ?
thanks.
i start to write something like that but i am stack
foreach (TextBox box in this.Controls.OfType<TextBox>()
.Where(tb => tb.Text.StartsWith('tbwin')))
1 Answer