views:

113

answers:

3

Is there a way to get the current systems line break character(s) in the .net framework?

+14  A: 

Environment.NewLine will give you the newline string defined for the current platform and implementation of the .NET Framework.

0xA3
+3  A: 
System.Environment.NewLine
M4N
+2  A: 

Environment.NewLine MSDN

Max