求解释~ strSql.Append("select *"); strSql.Append("from Article where TypeId="+id); 和
strSql.Append("select *"); strSql.Append("from Article where TypeId="+id+"");
有什么区别?
------解决方案-------------------- Seems like the difference is that you added a empty string at the end of the second append. Would it take up extra memory on the strSql?
------解决方案-------------------- 没区别。