SyntaxFix
Write A Post
Hire A Developer
Questions
Try this:
var t = this.Controls.OfType<TextBox>().AsEnumerable<TextBox>(); foreach (TextBox item in t) { item.Text = ""; }