Re: Equivalent For Path.DirectorySeparatorChar
- From: "Nicholas Paldino [.NET/C# MVP]" <mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 7 Jul 2005 11:25:05 -0400
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#?
.
- Prev by Date: Re: Warning 1684 CA2214 : Microsoft.Usage : 'RandomShade..ctor(Int32, Int32, Int32, Int32, Int32)' contains a call chain that results in a call to a virtual method defined by the class. Review the following call stack for unintended consequences:
- Next by Date: RE: MS world Mail merge at runtime
- Previous by thread: Convert Image to stdole.StdPicture
- Next by thread: RE: Equivalent For Path.DirectorySeparatorChar
- Index(es):