dc

dc

  • NA
  • 663
  • 0

C# string replace

Oct 26 2012 2:56 PM
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)