Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
为此,您每侧需要 3 个大括号 - 2 个用于大括号,1 个用于替换。
string result = String.Format("products/item/{{{0}}}", itemIdPattern);