title: System.ArgumentException: 'Illegal characters in path.'
body: <p>I'm having real trouble with this!</p>
  
  <pre><code>StreamWriter sw = new StreamWriter(@"C:\Users\Anthony\Documents\" + Fileinfo.Text + "\\Index.HTML");
  {
      sw.WriteLine("test");
  }
  </code></pre>
  
  <p>it keeps bring up this error, </p>
  
  <blockquote>
    <p>System.ArgumentException: 'Illegal characters in path.'</p>
  </blockquote>
  
  <p>I'm sure its something simple but i would love some help! Thanks so much</p>