Question

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

Was it helpful?

Solution

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

OTHER TIPS

System.Environment.NewLine

Environment.NewLine MSDN

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top