Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is there a way to check if reader has multiple results
Message
De
02/08/2013 04:51:54
 
 
À
02/08/2013 04:22:03
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01579688
Message ID:
01579724
Vues:
38
>I'd insert "in a loop" after strings, as they did some optimizatons for concatenating in a line and probably in directly following lines.

As to 'and probably in directly following lines' I don't think so



>>Generally, concatenating strings is a bad thing in .Net and a huge waste of resources. You're probably better off with StringBuilder.
>>
>>>May be it's paranoia, but assuming the original ReturnMessage is quite long, this would be waste of resources. I am thinking may be I better off using a builder and just concatenate strings here instead?
>>>
>>>I haven't run any performance tests yet, in fact, I'm deep in re-factoring today - I created a bunch of new classes and changing code to get rid of passing messages by reference around but rather re-use the new classes.
>>>
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform