现在的位置: 首页 > 综合 > 正文

string.Format的大括号处理

2012年10月26日 ⁄ 综合 ⁄ 共 82字 ⁄ 字号 评论关闭
用string.format时,如果里面有大括号,就用两个大括号替换,比如
string.Format("ceshi{{test}}abc{0}Befg", 111);

抱歉!评论已关闭.