title: Formatting string " \ "
body: <p>I need to add a <code>\</code> symbol to a string.</p>
  
  <p>I can't find the way to do that, because </p>
  
  <pre><code>@"\" == "\\"
  </code></pre>
  
  <p><code>\</code> is not the correct statement.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>Actually I am trying to generate SQL query string which contains the <code>'</code> character. In order to SQL reads it correctly I should represent it like <code>\'</code>. So, my code is something like this:</p>
  
  <pre><code>string query = "SELECT somequery";
  query += "\\'";
  </code></pre>
  
  <p>But when SQL try to execute this query it thinks that query contains exactly <code>\ \\'</code>.</p>