title: How to read a text file in project's root directory?
body: <p>I want to read the first line of a text file that I added to the root directory of my project. Meaning, my solution explorer is showing the .txt file along side my .cs files in my project.</p>
  
  <p>So, I tried to do:</p>
  
  <pre><code>TextReader tr = new StreamReader(@"myfile.txt");
  string myText = tr.ReadLine();
  </code></pre>
  
  <p>But this doesn't work since it's referring to the Bin Folder and my file isn't in there... How can I make this work? :/</p>
  
  <p>Thanks</p>