以下の内容はhttps://rksoftware.hatenablog.com/entry/2022/02/21/072028より取得しました。


定数の補間文字列 - C# 2.0 以降の新機能まとめ (C# 10.0 ~ ) (途中)

■ C# 10.0 での新機能

・定数の補間文字列 (Constant interpolated strings)
  https://docs.microsoft.com/ja-jp/dotnet/csharp/language-reference/tokens/interpolated#structure-of-an-interpolated-string
 const string の定義で値に文字列補間が使えるようになった。

public class C
{
    const string S1 = $"Hello world";
    const string S2 = $"Hello{" "}World";
    const string S3 = $"{S1} Kevin, welcome to the team!";
}



以上の内容はhttps://rksoftware.hatenablog.com/entry/2022/02/21/072028より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14