can any one explain with examples
Related Discussion: Most efficient way to concatenate strings?
string s = "a"; s += "b"; // this will create a new string object StringBuilder sb = new StringBuild(); sb.Append("a"); sb.Append("b"); // appends to existing StringBuilder
2.1m questions
2.1m answers
60 comments
57.0k users