Hi Jose, You could use
System.IO.Path.DirectorySeparatorChar which returns the appropriate character for your platform. Best Regards, Cetin Sert http://tenkatext.sourceforge.net On 26/07/07, josepascual <[EMAIL PROTECTED]> wrote:
Hi Everyone, I'm doing a program in C# using mono. I want to run it in win32 and linux. I have a problem with '/' and '\' for directory in win32 and linux. How Can I know in runtime if I'm in linux (unix) or in Windows to choose '\' for windows and '/' for linux in path for files? thank you, Jose Pascual _______________________________________________ Mono-devel-list mailing list [email protected] http://lists.ximian.com/mailman/listinfo/mono-devel-list
_______________________________________________ Mono-devel-list mailing list [email protected] http://lists.ximian.com/mailman/listinfo/mono-devel-list
