title: Use variable as part of textbox name in C#
body: <p>I am developing a program wth 30 text boxes and 30 check boxes next to them. I want people to check names and then press the send button. The program then saves the names in a txt file with a true or false statement next to them, it then uploads the file to a ftp server for me analize.
  The problem I am facing is that I don't want to write code for every text and check box to load and save it's value on the txt file.
  If I name the text boxes something like tbox1;tbox2;tbox3 etc. How would use a loop to say write the value of tbox <em>i</em> + ; + cbox <em>i</em> on line <em>i</em> of thing.txt or vice versa?
  Please any help would be grately apreciated because this will save me a lot of unnesacery code writing!</p>