title: Compiler Can't create SqlConnection instance when getting string from file
body: <p>I have created a Windows Forms application and I am getting data from my database in it, but I have a problem: the <code>SqlConnection</code> object cannot be instantiated.</p>
  
  <p>When I declare this connection string, it works:</p>
  
  <pre><code>static string connectionString = "Data Source=DEVELOPMENT-PC\\SQLEXPRESS;Initial Catalog=DATABASE;Integrated Security=True";
  </code></pre>
  
  <p>But when I retrieve this from textfile, it doesn't work:</p>
  
  <pre><code>static string a = File.ReadAllText(Path.Combine(Path.GetDirectoryName(Environment.GetCommandLineArgs()[0]), "connectionString.txt")).ToString();
  </code></pre>
  
  <p>One point: when I write <code>MessageBox.Show(a);</code>,  I see in the window the same string as connection string shown above is.</p>
  
  <p>What could be the problem?</p>