Although both "\r\n" and System.Environment.NewLine will usually do, be aware
that "\r\n" is unambiguous while System.Environment.NewLine may change
depending on the environment the app is running on. So if you're producing
text files where you *really* want it to be "\r\n" regardless of the
environment where your app is running, then you had better use that to be
safe.
David Anton www.tangiblesoftwaresolutions.com
Home of:
Instant C#: VB.NET to C# Converter
Instant VB: C# to VB.NET Converter
Instant J#: VB.NET to J# Converter
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.