Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Environment.NewLine
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00940829
Message ID:
00940899
Vues:
20
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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform