The Path class is in the System.IO namespace, so you could place a
"using System.IO" at the top of your file, and then just call
Path.DirectorySeparatorChar yourself in your C# code.
No need for an alternative of C# version because Path.DirectorySeparatorChar
is in the System.IO namespace, add a ‘using System.IO;’ at the top of your cs
file and use Path.DirectorySeparatorChar freely within.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.