Difference between "\n" and Environment.NewLine
.net, c#, cross-platform
Solution
Depends on the platform. On Windows it is actually "\r\n".
From MSDN:
A string containing "\r\n" for non-Unix platforms, or a string containing "\n" for Unix platforms.
Problem
What is the difference between two, if any (with respect to .Net)?