How to remove \ from a string in c#?
<p>I want to remove <code>\</code> (backslash) from a string in C#. How can I do this ?</p>

<pre><code>string scrip 
    = "$(function () {$(\"[src='" + names[i, 0] + "']\"" + ").pinit();});";
</code></pre>

<p>I used <code>scrip..Replace(@"\", "") ;</code> but <code>\</code> is not replacing with empty string </p>
