Confusions in String concatenation in c#

The first piece of advice we receive during performance exercises relate to usage of stringbuilder class instead of "+" operator. So we did follow it religiously and used stringbuilder everywhere for concatenation. Now, there seems to be a better option than using stringbuilder. Use String.Concat when using onetime concatenation, use stringbuilder in loops. More information can be found in this link

0 comments:

My Other blog

Search This Blog

Welcome

Welcome reader, you are reading my blog that showcases positive news to cheer up.
In my other life, I love software architecture and design, I also focus on project management skills. My other blog, concentrates on technical and project management related articles and notes.
http://aslaxmi.blogspot.com