[Mono-list] Platform comparison

Rodolfo Campero rodolfocampero@hotmail.com
Mon, 08 Mar 2004 15:00:11 +0000


Hi Jochen,
Instead of hard-coding the separator char, you can use 
System.IO.Path.DirectorySeparatorChar.
I don't know any guideline, but in general if you are about to do something 
that you think is not platform-independent, search a bit because is almost 
sure that there is a platform-independent way to do it.
Regards,
Rodolfo


>From: "Jochen Wezel" <jwezel@compumaster.de>
>To: <mono-list@ximian.com>
>Subject: [Mono-list] Platform comparison
>Date: Mon, 8 Mar 2004 14:37:41 +0100
>
>Hello together!
>
>Is there a comparison or guideline for the several platforms regarding
>what we developers have to pay attention to?
>For example, Linux uses "/" as directory separator char, Windows uses
>"\", but what about Mac OS (X)?
>
>Or maybe there are other points which are good to know?
>
>Jochen
>_______________________________________________
>Mono-list maillist  -  Mono-list@lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-list

_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail