日期:2014-05-20  浏览次数:20657 次

string 问题求教
string   a   =   "a ";
string   b   =   "b ";
string   c   =   a+b+ "c ";//这里是否会生成 "ab "对象??




------解决方案--------------------
string a = "a ";
string b = "b ";
string c = a+b+ "c "; 3个对象

string c = "a "+ "b "+ "c ";一个