title: C# - "Illegal Characters in Path" File.ReadAllLines
body: <pre><code>    public void LoadRegionMaps()
      {
          for (int x = 9; x &lt; 10; x++)
          {
              for (int y = 9; y &lt; 10; y++)
              {
                  string path = RegionData[x, y, 1];
                  System.Console.Write("Opening File...");
  
                  if(path != "0")
                  {
                      System.Console.Write(path);
                      string[] fileText = File.ReadAllLines(path);
  </code></pre>
  
  <p>The paths in the .txt file look like this:</p>
  
  <pre><code>"..\\Bin\\Assets\\WorldMap\\Regions\\Forest.txt"
  </code></pre>
  
  <p>I've tried changing it to</p>
  
  <pre><code>@"..\\Bin\\Assets\\WorldMap\\Regions\\Forest.txt"
  </code></pre>
  
  <p>Neither work.</p>
  
  <p>Both result in the error in the title, during the last line of code I showed.</p>
  
  <pre><code>path = "..\\Bin\\Assets\\WorldMap\\Regions\\Forest.txt"
  </code></pre>
  
  <p>Works.</p>
  
  <p>RegionData is a string array, holding the above filepaths.</p>