Can you refactor this ?
private void ClearUserDataFields()
{
var textBoxes = this.Controls.OfType<TextBox>();
foreach (var txtBoxControl in textBoxes)
{
txtBoxControl.Text = String.Empty;
}
}
Isn't there anyway to do this in one LOC ?