How can brackets be escaped in using string.Format
. 如何使用string.Format
逃脱括号。 For example: 例如: curl
String val = "1,2,3" String.Format(" foo {{0}}", val);
This example doesn't throw an exception, but outputs the string foo {0}
本示例不会引起异常,但会输出字符串foo {0}
url
Is there a way to escape the brackets? 有没有办法逃脱括号? spa