string p1 = "大傻瓜";
string p2 = "大聪明";
var A = String.Format("你好{0},我是{1}", p1, p2); //"你好大傻瓜,我是大聪明"
var B = $"你好{p1},我是{p2}"; //"你好大傻瓜,我是大聪明"
string p1 = "大傻瓜";
string p2 = "大聪明";
var A = String.Format("你好{0},我是{1}", p1, p2); //"你好大傻瓜,我是大聪明"
var B = $"你好{p1},我是{p2}"; //"你好大傻瓜,我是大聪明"