Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AppendFormat
Message
De
08/02/2013 16:31:37
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01565543
Message ID:
01565578
Vues:
35
StringBuilder only gives you gains if you are concatenating the same string over multiple lines of code. If you care creating the string in a single line, StringBuilder just gets in the way.


>Do you mean instead of StringBuilder?
>
>I figured out the missing piece (I just needed to specify the number after the parameter, e.g. {1,11:N0}) but somehow my unit test was still failing although visually to me the output looked exactly the same.
>
>I decided to trust the visual output and switched to a different method now.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform