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
Christian Nagel
February 07, 2017
Programming
220
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
140
Creating Desktop Apps with UWP (Show IT, Bratislava 2017)
christiannagel
0
110
C# 7.0 - What's New (G2B TechEd Brno, 2017)
christiannagel
0
150
Creating Desktop Apps with UWP (G2B TechEd, Brno 2017)
christiannagel
0
120
WPF 4.5 - Die Neuerungen im Überblick
christiannagel
0
170
Async mit C# 5
christiannagel
1
160
Windows Store Apps mit C#
christiannagel
0
110
Tiles, Toasts & Notifications
christiannagel
0
130
Other Decks in Programming
See All in Programming
Pythonの実行はどこまで賢くなったのか? CPythonとPyPyから見る最適化のしくみ
curekoshimizu
4
2.7k
AWS Step Functions 大規模並列の壁を越える / jaws-sonic-2026-niigata-step-functions
kasacchiful
PRO
0
340
Hono + Inertia + React で LP を構築した話
oukayuka
2
200
AIは賢い。でも実行環境は? CLIおじさんがAI時代に伝えたいこと ~ CLIおじさんがAI時代に伝えたいこと ~
curekoshimizu
1
140
ALB ログから Trace を気合で繋げる技術
fohte
7
860
Swift愛好会100回記念 第1回を振り返る
jollyjoester
0
110
数年滞っていたダークモード対応をおよそ2週間で完了させる
chigichan24
0
670
新卒PdEのリアル
ryu1013
1
320
tsc.rip を支える技術 / Kyoto.なんか #8
susisu
0
4.3k
片田舎のおっさん、 Swift Buildのダイアモンド問題解決の不具合修正PRを出すが、解決方法がキャッシュをしないようにすることであり、ビルド時間が伸びると言われてマージされないので高速化もする/swiftbuild
yimajo
0
350
Laravelのアプリケーションをどこにデプロイするか #ツナギメオフライン.9
akase244
0
110
Seeing Through Serverless: Observability for AWS Lambda with ADOT and CloudWatch Application Signals
seike460
PRO
1
120
Featured
See All Featured
Side Projects
sachag
455
43k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
510
Chasing Engaging Ingredients in Design
codingconduct
0
300
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
460
Designing Powerful Visuals for Engaging Learning
tmiket
1
530
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
270
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
500
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
340
Git: the NoSQL Database
bkeepers
PRO
432
67k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
230
Raft: Consensus for Rubyists
vanstee
141
7.7k
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