[Mono-list] System dependent "NewLine"

Gaurav Vaish gvaish@iitk.ac.in
Tue, 19 Feb 2002 06:34:41 +0530


Hello,
    I don't know where the sytem-dependent value of NewLine exists, or
even-so-more whether it exists or not?
    NewLine.Windows = "\r\n"
    NewLine.Linux = "\n"
    NewLine.Mac = "\r"

    I felt the need of this while making use of Windows.Form where when I added
"\n", it showed me some odd-boxes in the text-box, similar to what happens when
you open a Linux file in Notepad.

    Any pointers? I am pretty sure that the property would be non-existent in
M$-version, but we may put it up somewhere suitable.


Cheers,
Gaurav Vaish
http://home.iitk.ac.in/student/gvaish
http://calendar.yahoo.com/mastergaurav
-----------------------