Nelviticus
Programmer
I know that if you're intending to modify a string after you've created it you should use a StringBuilder. However, if you're creating a string that is made up of components or split across lines like this:
is it still better to use a StringBuilder?
Thanks
Nelviticus
Code:
string sQuery;
sQuery = "SELECT COUNT(C.CLIENT_CODE) "
+ "FROM HBM_CLIENT C "
+ "WHERE C.ENTITY_TYPE='"
+ sType
+ "'";
is it still better to use a StringBuilder?
Thanks
Nelviticus