In .NET I can provide both \\r or \\n string literals, but there is a way to insert
something like \"new line\" special character like Enviro
If you want a const string that contains Environment.NewLine in it you can do something like this:
const string stringWithNewLine =
@"first line
second line
third line";
Since this is in a const string it is done in compile time therefore it is the compiler's interpretation of a newline. I can't seem to find a reference explaining this behavior but, I can prove it works as intended. I compiled this code on both Windows and Ubuntu (with Mono) then disassembled and these are the results:

As you can see, in Windows newlines are interpreted as \r\n and on Ubuntu as \n