title: Fileinfo - c# Vs2008
body: <p>Can I use FileInfo as such:</p>
  
  <pre><code> FileInfo fileInfo = new FileInfo(@"\\mymachine\downloads\;\\yourmachine\Log\" +  "11.txt");
  StreamWriter sw = fileInfo.CreateText();
  sw.WriteLine("write some data");
  sw.Close();
  </code></pre>
  
  <p>My lead thinks it can be used as such but I get an exception when I run that code..</p>
  
  <p>Exception:</p>
  
  <pre><code>System.IO.DirectoryNotFoundException Could not find a part of the path
  </code></pre>
  
  <p>He thinks he can do a fake load balance and/or depending on which share is available the code will place an order file to be processed. I do not agree with his thinking but he my boss and i gotta do his biding..</p>