2016-08-04から1日間の記事一覧
C#4.6以降で使える補完文字列でも、改行や\をそのまま扱いたいときは@が使えます。 string test = $@"C:\test D:\test"; また、補完対象の中括弧内に関数を指定する事も可能でした。 string test1 = "test1"; string interpolation = "補完したい文字列:{fun…
C#4.6以降で使える補完文字列でも、改行や\をそのまま扱いたいときは@が使えます。 string test = $@"C:\test D:\test"; また、補完対象の中括弧内に関数を指定する事も可能でした。 string test1 = "test1"; string interpolation = "補完したい文字列:{fun…