c# string.format 的简写 $

var name = "huchao";
var info = $"你是谁,我叫:{name}";
Console.Write(info);
Console.ReadKey();it

相关文章
相关标签/搜索