title: Replace \\ with \ in C#
body: <p>I have a long string (a path) with double backslashes, and I want to replace it with single backslashes:   </p>
  
  <pre><code>string a = "a\\b\\c\\d";
  string b = a.Replace(@"\\", @"\");  
  </code></pre>
  
  <p>This code does nothing...    </p>
  
  <p><code>b</code> remains <code>"a\\b\\c\\d"</code>  </p>
  
  <p>I also tried different combinations of backslashes instead of using <code>@</code>, but no luck.</p>