請問這是怎麼發生的字符串拼接? 我真的搞不清發生了什麼,爲什麼那條斜線我有怎樣的雙引號用於字符串拼接問題
SessionStateItemCollection items = new SessionStateItemCollection();
items["LastName"] = "Wilson";
items["FirstName"] = "Dan";
foreach (string s in items.Keys)
Response.Write("items[\"" + s + "\"] = " + items[s].ToString() + "<br />");
//here i am looking for explanation please elaborate me on this please
Response.Write("items[\"" + s + "\"] = " + items[s].ToString() + "<br />");
不清楚坐哪個報價是逃脫請詳細說明一下這個 – NoviceToDotNet 2010-11-03 06:15:03
我加了更多描述和鏈接。 – 2010-11-03 06:22:32