> Int32 i = 27;
> String myText = "hello there, the number is: " + i.ToString();

Interned string + boxed string... Hmmm... is that running in a loop
too ?

On Oct 7, 12:58 pm, CK <[EMAIL PROTECTED]> wrote:
> not a problem.
>
> what I haven't looked at is if there is any performance implication in
> doing a string concatenation on the construction of a string, e.g.
>
> Int32 i = 27;
> String myText = "hello there, the number is: " + i.ToString();
>
> or whether it would be more efficient to use a StringBuilder, or
> indeed a String.Format() ???
>
> On 6 Oct, 16:20, altja <[EMAIL PROTECTED]> wrote:
>
>
>
> > great answer.  I really appreciate it.  Especially the string builder
> > add in as that would have been my follow up question.- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web 
Services,.NET Remoting" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/DotNetDevelopment

You may subscribe to group Feeds using a RSS Feed Reader to stay upto date 
using following url  

<a href="http://feeds.feedburner.com/DotNetDevelopment";> 
http://feeds.feedburner.com/DotNetDevelopment</a>
-~----------~----~----~----~------~----~------~--~---

Reply via email to