That Replace
in your code is doing nothing because there are no double backslashes in your string... As others have already pointed out, it's just a matter of debugger visualization so you can copy that and use it in your code, for example.
So, if you do this:
You see the double backslash there but it's not in the actual string, of course. See what you get in the console:
My advice is that you simulate a double click on the selected file by running this:
System.Diagnostics.Process.Start(filetoplay);
It should open your default mp3 player. I think it will give you an error due to missing file, wrong format or something. If it plays, then the bug is on the player part of your code and you can stop worrying about the double slashes. :)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…