Code:
 foreach (Control c in this.Controls)

                if (c is TextBox)

                    (c as TextBox).Clear();