title: How to work with files for Mobile Device
body: <p>I have to develop application for mobile device, using Visual Studio 2008. Application have to read files and write to them.</p>
  
  <p>Problem I have that I don't know where are files when I run application on mobile device or even on device emulator in VS. If I run application on PC, everything works well.</p>
  
  <p>Can you give me some point what to do and where to look at?</p>
  
  <p>Thank you in advance!</p>
  
  <p><strong>I didn't mention, it's for Windows Mobile 6.5</strong></p>
  
  <p>P.S. tried to work with StringBuilder like:</p>
  
  <pre><code>StringBuilder sb = new StringBuilder();
  using (StreamReader sr = new StreamReader("TestFile.txt")) 
  {
      String line;
      // Read and display lines from the file until the end of 
      // the file is reached.
      while ((line = sr.ReadLine()) != null) 
      {
          sb.AppendLine(line);
      }
  }
  string allines = sb.ToString();
  </code></pre>