c#字符串格式 [英] c# string format
本文介绍了c#字符串格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有这样的字符串 {"" {template1}"":"""car"","" {template2}"""""" red" ;"},如何将其转换为@" {"" {template1}"":""""""" {
template2}" ":"" red""}"
Hi, I have string like this { ""{ template1 }"":""car"",""{ template2} "":""red""}, how can I turn it into the @"{ ""{ template1 }"":""car"",""{ template2} "":""red""}"
推荐答案
我不明白。
这篇关于c#字符串格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文