Re: Equivalent For Path.DirectorySeparatorChar

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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.


--
- Nicholas Paldino [.NET/C# MVP]
- mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx

"Jim Heavey" <JimHeavey@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:AF7E212E-4D6B-498A-9197-C924ED2B722E@xxxxxxxxxxxxxxxx
> Is there an equivalent for "Path.DirectorySeparatorChar" (VB.Net) in c#?


.