Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
StringBuilder AppendFormat function
Message
From
13/02/2008 12:34:06
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 2.0
OS:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01292192
Message ID:
01292255
Views:
22
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....
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform