Is this two patterns of String Concatenation consume same amount of memory?
//Method 1
String testString = "Test " + " string " + " content";
//Method 2
String testString = "Test ";
testString = testString + " string ";
testString = testString + " content";
Should we avoid both of these methods and use StringBuilder class ?
.Format()orStringBuilderaccording to context. The dana's links have very good examples. And as there has mentioned,you will see me never using+operator on strings.