string s = "hello"; string fo = $"{s} world"; // 等同于使用Format方法: string fo = string.Format("{0} world",s);
(完)
string s = "hello"; string fo = $"{s} world"; // 等同于使用Format方法: string fo = string.Format("{0} world",s);
(完)
转载于:https://www.cnblogs.com/lishidefengchen/p/11473905.html