阅读背景:

在字符串中转义大括号{以支持string . format

来源:互联网 

I have strings that I read from the database, these strings are fed into String.Format method, if a string has '{' '}' braces but these braces are not escaped correctly for String.Format (i.e add another '{' to escape them) the String.Format will throw an exception.I have strings that I read from the database, t




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: