In a C# application, I get the Desktop folder doing this :
string path = Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory);
Which gives this string : "C:\\Users\\username\\Desktop".
As you see there are two slashes, which is problematic. Is there an easy way to delete a slash each time I meet them ?
Thank you in advance.