Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Environment.NewLine
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00940829
Message ID:
00940899
Views:
21
This message has been marked as the solution to the initial question of the thread.
>Is there a benefit of using Environment.NewLine instead of "\n" or "\r\n" directly in my string?
>Einar

In theory yes. If you run .NET on a non-Windows box the line feed carriage return combination maybe different and this is meant to remedy that.

In reallity that's highly unlikely and even if you do most platforms these days use \r\n for linefeed newline combinations.
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform