Luca Romagnoli Luca Romagnoli - 1 year ago 195
C# Question

equivalent of vbCrLf in c#

I have a to do this:


In c# AccountList is a string.
How can i do?


Answer Source

You are looking for System.Environment.NewLine.

On Windows, this is equivalent to \r\n though it could be different under another .NET implementation, such as Mono on Linux, for example.