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