title: write list of objects to a file
body: <p>I've got a class salesman in the following format:</p>
  
  <pre><code>class salesman
  {
      public string name, address, email;
      public int sales;
  }
  </code></pre>
  
  <p>I've got another class where the user inputs name, address, email and sales.
  This input is then added to a list </p>
  
  <pre><code>List&lt;salesman&gt; salesmanList = new List&lt;salesman&gt;();
  </code></pre>
  
  <p>After the user has input as many salesman to the list as they like, they have the option to save the list to a file of their choice (which I can limit to .xml or .txt(which ever is more appropriate)).
  How would I add this list to the file?
  Also this file needs to be re-read back into a list if the user wishes to later view the records.</p>