How can I replace all the \'\\\' chars in a string into \'/\' with C#? For example, I need to make @\"c:/abc/def\" from @\"c:\\abc\\def\".
You need to escape the \
mystring.Replace("\\", "/");