Method that accept n Number of Parameters in C #
<p>I am Developing an windows Application, oftentimes I need to clear the Textboxes whenever the user save the Record or click on clear button.
Currently i am using this code txtboxname.text=string.empty;  for each textbox</p>

<p>So can it be possible to write a method that accept the n number of parameter
like reading the all the Textboxes in an array and using foreach we can clear them</p>

<p>the main requirement is to write a method which accept the n number of parameter
i.e The parameter size will be unknown.</p>

<p>If any body having idea about how to do this then please help me.
Thanks in Advance.</p>
