使用字串插補來建構格式化的字串Use string interpolation to construct formatted strings

此教學課程將教您如何使用字串插補在單一字串中插入值。This tutorial teaches you how to use string interpolation to insert values into a single string. 您也會了解如何控制結果字串的文字格式。You also learn how to control text formatting of the result string. 您使用瀏覽器撰寫並執行 C# 程式碼,而且可以立即查看結果。You use your browser to write and run C# code and can immediately see the results.