Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
StringBuilder AppendFormat function
Message
De
13/02/2008 12:34:06
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01292192
Message ID:
01292255
Vues:
23
This message has been marked as a message which has helped to the initial question of the thread.
>>>>AppendFormat just adds to the end of a string. It allows you to "parameterize" content of the string. It has nothing to do with CR/LF.
>>>
>>>Fred,
>>>
>>>I read the help of AppendFormat function. My question was WHY I do not see some sort of visual indication that I have CRLF in the generated string in the Debugger.

Exactly where are you viewing this in the Debugger. The string in a watch window should show the relevant '\n' or '\r\n' sequence. And as mentioned in another post using the 'Text Visualizer' option will show the fomratted output. BTW, according to help '\n' is Unix new line and '\r\n' is non-Unix. Using Environment.NewLine should guarantee the correct sequence....
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform