例如:
string
pattern = string.Format("{{{0}}}", count);
返回{count的值}
若要在 format 中指定单个大括号字符,请指定两个前导大括号字符或后缀大括号字符(即“{{”或“}}”)。
例如:
string
pattern = string.Format("{{{0}}}", count);
返回{count的值}
若要在 format 中指定单个大括号字符,请指定两个前导大括号字符或后缀大括号字符(即“{{”或“}}”)。