我想表示以下字符串:
aaaa,23,"something inside double quotes", 99, 8, 7
我在考虑用String.Format
来做这件事
StringBuilder.AppendLine(string.Format("{0},{1},{2},{3},{4},{5}",
item.one, item.two, item.three, item.four, item.five, item.six));
我需要用双引号将第三个参数{2}
括起来。
https://stackoverflow.com/questions/15610091
复制相似问题