谁能举例说明
相关讨论: 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
https://stackoverflow.com/questions/665499/