[Mono-dev] How To know in runtime inside a C# program

josepascual josepascual at almudi.com
Thu Jul 26 04:30:20 EDT 2007


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




More information about the Mono-devel-list mailing list