在输出字符串中用{}来表示格式。例如:
{}
"你的姓名是{0},年龄为{1}"
格式的一般形式为{N[,M][:格式码]}
{N[,M][:格式码]}
C#格式化输出
原文:https://www.cnblogs.com/popodynasty/p/14729774.html