Thursday, December 16, 2010

Which is fast way of string concatation in asp.net?

There are two for string concatation :

1) using System.string
2)using System.stringbuilder
In system.string concatation base on pass by Value
For Example:- str1=str2+str3;
In System.stringbuilder base on pass by Reference
For Example:- str1=str2.append(str3);
2nd is Fast way of concatation.
ASPdotNET-Example