1
Answer

C# string replace

I would like to do the following replace string in a C# string statement:

filesaveLocation.Replace("\\", "\").

I want to replace \\ to be only \.

The compiler does not allow me to have"\"

Can you tell me how to accomplish this goal?

Answers (1)