I am returning the C# path to the user in Json format. What user sees has double slash how I can remove it and show like:
C:\Documents\Projects\Customer\";
I used the code in the bellow but it still shows the double slash.
location = "C:\\Documents\\Projects\\Customer\\";
String input = Path.GetFullPath(location);
input = input.Replace(@"\\", @"\");
Go to the complete details ...