visual studio clear text script

C#
(textbox name).Text = "";
Source

Also in C#: