[Mono-list] directory path separator

James Berry james@adastra.co.uk
Fri, 17 Sep 2004 10:32:58 +0100

> I'd like my code to be portable between windows and linux using .Net
> and mono.    I take one of the "special" folders from
> Environment.GetFolder(), and append some directory structure=20
> to that to do some work.  How do I know what folder separator to use?

You use Path.Combine to pull them together, and forget about it. :-)

Best wishes