C# 字符串前加$ string s = "hello"; string fo = $"{s} world"; // 等同于使用Format方法: string fo = string.Format("{0} world",s); (完)