I need to replace double quotes with single so that something like this

```
\\\\servername\\dir1\\subdir1\\

```

becomes

```
\\servername\dir1\subdir1\

```

I tried this

```
string dir = "\\\\servername\\dir1\\subdir1\\";
string s = dir.Replace(@"\\", @"\"); 

```

The result I get is

```
\\servername\\dir1\\subdir1\\

```

Any ideas?