SlideShare a Scribd company logo
1 of 4
Download to read offline
5 分で学ぶ
Interpolated String Handler
- C# 上級テクニック編 -
鈴木 孝明 (@xin9le)
1
Name
鈴木 孝明 a.k.a @xin9le
Work
Application Engineer
株式会社 fingger 技術顧問
Award
Microsoft MVP (2012/7 -)
About
今日の主役
$"Hello, tfcon{2022}!"
$"Hello, tfcon{2022}!"
C# 10 / .NET 6 で大幅な高速化
利便性が高い記法だが速くはなかった
.NET 6 で再コンパイルするだけで恩恵を受けられる
併せて独自カスタマイズも可能に
パターンベースな解釈が行われるので型に依存しない拡張性を持つ
.NET 6 から既定で有効だが、.NET 5 以前でも C# 10 であれば利用可能

More Related Content

More from Takaaki Suzuki

4 Colors Othello’s Algorithm
4 Colors Othello’s Algorithm4 Colors Othello’s Algorithm
4 Colors Othello’s AlgorithmTakaaki Suzuki
 
4 Colors Othello’s Algorithm @仙台 IT 文化祭 2017
4 Colors Othello’s Algorithm @仙台 IT 文化祭 20174 Colors Othello’s Algorithm @仙台 IT 文化祭 2017
4 Colors Othello’s Algorithm @仙台 IT 文化祭 2017Takaaki Suzuki
 
Universal Appとは? -デバイスに依存しないアプリケーション開発-
Universal Appとは? -デバイスに依存しないアプリケーション開発-Universal Appとは? -デバイスに依存しないアプリケーション開発-
Universal Appとは? -デバイスに依存しないアプリケーション開発-Takaaki Suzuki
 
C#のココが好き!
C#のココが好き!C#のココが好き!
C#のココが好き!Takaaki Suzuki
 
Windows 8 UX Guidelines
Windows 8 UX GuidelinesWindows 8 UX Guidelines
Windows 8 UX GuidelinesTakaaki Suzuki
 
RxShowcase -for ignote & i-Jupiter-
RxShowcase -for ignote & i-Jupiter-RxShowcase -for ignote & i-Jupiter-
RxShowcase -for ignote & i-Jupiter-Takaaki Suzuki
 

More from Takaaki Suzuki (20)

4 Colors Othello’s Algorithm
4 Colors Othello’s Algorithm4 Colors Othello’s Algorithm
4 Colors Othello’s Algorithm
 
Sharing Deep Dive
Sharing Deep DiveSharing Deep Dive
Sharing Deep Dive
 
4 Colors Othello’s Algorithm @仙台 IT 文化祭 2017
4 Colors Othello’s Algorithm @仙台 IT 文化祭 20174 Colors Othello’s Algorithm @仙台 IT 文化祭 2017
4 Colors Othello’s Algorithm @仙台 IT 文化祭 2017
 
DeclarativeSql
DeclarativeSqlDeclarativeSql
DeclarativeSql
 
Sevens Algorithm
Sevens AlgorithmSevens Algorithm
Sevens Algorithm
 
Friendly
FriendlyFriendly
Friendly
 
WPF Interoperability
WPF InteroperabilityWPF Interoperability
WPF Interoperability
 
Universal Appとは? -デバイスに依存しないアプリケーション開発-
Universal Appとは? -デバイスに依存しないアプリケーション開発-Universal Appとは? -デバイスに依存しないアプリケーション開発-
Universal Appとは? -デバイスに依存しないアプリケーション開発-
 
酒の肴はC# vNext
酒の肴はC# vNext酒の肴はC# vNext
酒の肴はC# vNext
 
Async History in .NET
Async History in .NETAsync History in .NET
Async History in .NET
 
SignalR Tune-up
SignalR Tune-upSignalR Tune-up
SignalR Tune-up
 
Twilioと.NET
Twilioと.NETTwilioと.NET
Twilioと.NET
 
Programmer's Brain
Programmer's BrainProgrammer's Brain
Programmer's Brain
 
What's MVP
What's MVPWhat's MVP
What's MVP
 
C#のココが好き!
C#のココが好き!C#のココが好き!
C#のココが好き!
 
Non-Stop Experience
Non-Stop ExperienceNon-Stop Experience
Non-Stop Experience
 
Using C# on Surface
Using C# on SurfaceUsing C# on Surface
Using C# on Surface
 
URL Routing Test Kit
URL Routing Test KitURL Routing Test Kit
URL Routing Test Kit
 
Windows 8 UX Guidelines
Windows 8 UX GuidelinesWindows 8 UX Guidelines
Windows 8 UX Guidelines
 
RxShowcase -for ignote & i-Jupiter-
RxShowcase -for ignote & i-Jupiter-RxShowcase -for ignote & i-Jupiter-
RxShowcase -for ignote & i-Jupiter-
 

5 分で学ぶ Interpolated String Handler

  • 1. 5 分で学ぶ Interpolated String Handler - C# 上級テクニック編 - 鈴木 孝明 (@xin9le) 1
  • 2. Name 鈴木 孝明 a.k.a @xin9le Work Application Engineer 株式会社 fingger 技術顧問 Award Microsoft MVP (2012/7 -) About
  • 4. $"Hello, tfcon{2022}!" C# 10 / .NET 6 で大幅な高速化 利便性が高い記法だが速くはなかった .NET 6 で再コンパイルするだけで恩恵を受けられる 併せて独自カスタマイズも可能に パターンベースな解釈が行われるので型に依存しない拡張性を持つ .NET 6 から既定で有効だが、.NET 5 以前でも C# 10 であれば利用可能