Equivalent For Path.DirectorySeparatorChar

  • Thread starter Thread starter Guest
  • Start date Start date
Jim,

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.

Hope this helps.
 
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.

Brendan
 
Back
Top