title: How to replace the single slash to double slash in C#?
body: <p>Replce single slash to double slash is not working always return the single slash..  </p>
  
  <pre><code>    string input;
      input = "\r\t";
      string mat1= input.Replace("\\\\","\\\\\\\\");
      string inputt= mat1;
  </code></pre>
  
  <p>if i am run the above code it will return output is \r\t only....</p>
  
  <p>but i need output like this</p>
  
  <p>\r\t</p>