title: Remove '\' char from string c#
body: <p>I have the following code</p>
  
  <pre><code>string line = ""; 
  
  while ((line = stringReader.ReadLine()) != null)
  {
      // split the lines
      for (int c = 0; c &lt; line.Length; c++)
      {
          if ( line[c] == ',' &amp;&amp; line[c - 1] == '"' &amp;&amp; line[c + 1] == '"')
          {
              line.Trim(new char[] {'\\'}); // &lt;------
              lineBreakOne = line.Substring(1, c  - 2);
              lineBreakTwo = line.Substring(c + 2, line.Length - 2);
          }
      }
  }
  </code></pre>
  
  <p>I have added a comment net to the line I am wondering about. I want to remove all '\' chars from the string. Is this the correct way to to this? I doesnt work. All \ are still in the string.</p>