You can just use / everywhere.

It works just fine on both.


In java there is the notion of using a system variable to tell you
what the platform-specific folder separator is.  Is the same true for
.Net?  I've only done .Net on windows and haven't cared until now.

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 to that
to do some work.  How do I know what folder separator to use?

Thanks very much,

Kevin
(Still trying to orient myself -- and may be for a while -- to
cross-platform .Net)
_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list





_______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to