A
A.M-SG
Hi,
I have the following code at the heavily demanded server side service:
strResult=str1+"\\"+str2+"\\"+str3+"\\";
Would it be better (performance wise) that we change it to this:
strResult = string.Format(@"{0}\{1}\{2}\",str1,str2,str3);
Which one is faster?
Thank you,
Alan
I have the following code at the heavily demanded server side service:
strResult=str1+"\\"+str2+"\\"+str3+"\\";
Would it be better (performance wise) that we change it to this:
strResult = string.Format(@"{0}\{1}\{2}\",str1,str2,str3);
Which one is faster?
Thank you,
Alan