Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
C# 7.0 - What's New (Show IT, Bratislava, 2017)
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Christian Nagel
February 07, 2017
Programming
210
0
Share
C# 7.0 - What's New (Show IT, Bratislava, 2017)
Syntax Enhancements with C# 7.0
Christian Nagel
February 07, 2017
More Decks by Christian Nagel
See All by Christian Nagel
ASP.NET Core und ASP.NET Core MVC (BASTA! Spring 2017)
christiannagel
0
390
C# 7.0 - Neuheiten im Detail (BASTA! Spring 2017)
christiannagel
0
130
Creating Desktop Apps with UWP (Show IT, Bratislava 2017)
christiannagel
0
100
C# 7.0 - What's New (G2B TechEd Brno, 2017)
christiannagel
0
140
Creating Desktop Apps with UWP (G2B TechEd, Brno 2017)
christiannagel
0
110
WPF 4.5 - Die Neuerungen im Überblick
christiannagel
0
160
Async mit C# 5
christiannagel
1
160
Windows Store Apps mit C#
christiannagel
0
100
Tiles, Toasts & Notifications
christiannagel
0
120
Other Decks in Programming
See All in Programming
SPMマルチモジュールで テストカバレッジを取得する技法
yosshi4486
0
140
脅威をエンジニアリングの糧にして――現場編 / Turning Threats into Engineering Fuel — Field Edition
nrslib
0
230
jQueryをバージョンアップする前に使いたいjQuery Migrate
matsuo_atsushi
0
150
気づいたらRubyで100作品 ー クリエイティブコーディングが生活の一部になるまで / 100 Ruby Sketches Later: How Creative Coding Became Part of My Life
chobishiba
3
520
Composerを使ったサプライチェーン攻撃の様子を眺めてみる #phpstudy
o0h
PRO
2
210
CSC307 Lecture 17
javiergs
PRO
0
310
新規プロダクトを高速で生み出すハーネスエンジニアリング
seanchas116
19
7.8k
AI時代のUIはどこへ行く?その2!
yusukebe
18
6k
ふつうのFeature Flag実践入門
irof
7
3.4k
Swiftのレキシカルスコープ管理
kntkymt
0
210
inferと仲良くなる10分間
ryokatsuse
1
310
作って学ぶ、 JSX (TSX) ランタイムの基本
syumai
7
1.4k
Featured
See All Featured
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
710
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
180
How STYLIGHT went responsive
nonsquared
100
6.1k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.5k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
520
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.9k
How to make the Groovebox
asonas
2
2.2k
Ruling the World: When Life Gets Gamed
codingconduct
0
240
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
190
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
130
Transcript
History of C# •OO & Component Oriented 1.0 •Generics 2.0
•LINQ 3.0 •Dynamic 4.0 •Async 5.0 •Roslyn & Many Improvement's 6.0
C# 7.0 – What’s New? Christian Nagel @christiannagel
[email protected]
Agenda History of C# C# Goals New Syntax with C#
7.0
Christian Nagel • Training • Coaching • Consulting • Microsoft
MVP • thinktecture • www.cninnovation.com
None
GOALS OF C#
C# IS A MULTI-PARADIGM LANGUAGE!
Typical Applications SQL Azure App Services WPF UWP Xamarin Storage
What’s Needed? • Separation of Functionality and State • Immutable
Objects • Functional Programming can help
Functional Programming • Functions as 1st-Class • Avoiding State Mutation
C# 6 Features for Functional Programming • Using Static •
Enhancements with Properties • Expression Bodied Methods • Exception Filters • String Interpolation • Null Conditional Operator
None
NEW SYNTAX WITH C# 7.0
SAMPLE CODING…
C# 7.0 Enhancements • Digit Separators and Binary Literals •
Out Var, Ref Local and Ref Return • Local Functions • Expression Syntax Everywhere • Pattern Matching • Tuples and Deconstruction
Summary • C# is a Multi-Paradigm Language • Influences from
Functional Programming • Major new Features – Tuples and Deconstruction – Pattern Matching
Questions?
More Information (1) • https://dot.net • https://github.com/dotnet/csharplang • Sample Code:
• https://github.com/CNinnovation
More Information (2) • https://github.com/ProfessionalCSharp • https://csharp.christiannagel.com • https://www.cninnovation.com •
Training & Coaching
Thank you!
Images Copyright • Violin © Beyla Balla • Ladder to
the Sky © Louise Reach • Diversity working people © Vladimir Mucibabic • Code Coding Programming Sire © Rawpixelimages • Problem Solving Series © Pablo631 • Bratislava © Tomas1111 • http://www.dreamstime.com
www.showit.sk www.gopas.sk