c# string.format方法 拼接json数据出现的问题。

问题是出现在   public static string Format(string format, object arg0); 这个重载的方法中 原因是因为在参数format添加{0},{1},{2}诸如此类的标记之后,如果参数format还有其他将"{"和"}"等单独使用的情况(在拼接的string类型的json数据中较为常见),那么在string.format方法运行时就会抛出Format
相关文章
相关标签/搜索