Changing "/" to "\" [C#]
<p>I have already seen the other way around. But this one I can not catch. I am trying to get a part of a web resourcePath and combine it with a local path.
Let me Explain a bit more.</p>

<pre><code>public string GetLocalPath(string URI, string webResourcePath, string folderWatchPath) // get the folderwatcher path to work in the local folder
    {
        string changedPath = webResourcePath.Replace(URI, "");
        string localPathTemp = folderWatchPath + changedPath;
        string localPath = localPathTemp.Replace(@"/",@"\");
        return localPath;
    }
</code></pre>

<p>But, When I do this the result is like</p>

<pre><code>C:\\Users
</code></pre>

<p>But what I want to have is</p>

<pre><code>C:\Users 
</code></pre>

<p>Not "\\" but my debug shows it like <code>C:\\Users</code> but in the console it shows it as I expect it.
I want to know the reason for that
thanks..</p>
