开发者

StringBuilder string format

scriptValues.AppendFormat("something = {1};", SessionID.ToString());

in the above, I get a R# warning or something that says I need to add a 3rd param. When I look with intellisense it开发者_Python百科 shows string formatter. Do I need one here?


It should be scriptValues.AppendFormat(@"something = {0}";", SessionID.ToString());

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜