title: Read a text file from local folder
body: <p>I want to read a text file from my local directory, I added the text file to my c# solution, so it would get copied at deployment.. but how do i open it? I've been searching but all the examples assume I have a C:\textfile.txt:</p>
  
  <p>I tried just reading the file </p>
  
  <pre><code>if (File.Exists("testfile.txt"))
  {
     return true;
  }
  </code></pre>
  
  <p>That didn't work. Then I tried:</p>
  
  <pre><code>if (File.Exists(@"\\TextConsole\testfile.txt"))
  {
     return true;
  }
  </code></pre>
  
  <p>but still wont open it.. any ideas??</p>