Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a way to check if reader has multiple results
Message
From
01/08/2013 18:37:27
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01579688
Message ID:
01579696
Views:
42
This message has been marked as a message which has helped to the initial question of the thread.
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.
>
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform