Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
C# 7.0 - What's New (Show IT, Bratislava, 2017)
Christian Nagel
February 07, 2017
Programming
0
160
C# 7.0 - What's New (Show IT, Bratislava, 2017)
Syntax Enhancements with C# 7.0
Christian Nagel
February 07, 2017
Tweet
Share
More Decks by Christian Nagel
See All by Christian Nagel
ASP.NET Core und ASP.NET Core MVC (BASTA! Spring 2017)
christiannagel
0
150
C# 7.0 - Neuheiten im Detail (BASTA! Spring 2017)
christiannagel
0
96
Creating Desktop Apps with UWP (Show IT, Bratislava 2017)
christiannagel
0
66
C# 7.0 - What's New (G2B TechEd Brno, 2017)
christiannagel
0
78
Creating Desktop Apps with UWP (G2B TechEd, Brno 2017)
christiannagel
0
71
WPF 4.5 - Die Neuerungen im Überblick
christiannagel
0
110
Async mit C# 5
christiannagel
0
130
Windows Store Apps mit C#
christiannagel
0
45
Tiles, Toasts & Notifications
christiannagel
0
38
Other Decks in Programming
See All in Programming
FutureCon 2022 FlutterアプリのPerformance測定
harukafujita
0
140
パスワードに関する最近の動向
kenchan0130
1
330
FullStack eXchange, July 2022
brucel
0
200
kintone × LINE Bot で餃子検定Botを作った話
naberina
0
340
Windows コンテナ Dojo 第5回 OpenShift で学ぶ Kubernetes 入門
oniak3ibm
PRO
0
200
夕食断食にTRY!/for-lt-12th
pachikuriii
0
250
Enzyme から React Native Testing Library に移行した経緯 / 2022-07-20
tamago3keran
1
160
Getting Started With Data Structures
adoranwodo
1
270
このタイミングで知っておきたい 開発生産性の高いエンジニア組織の特徴とは / dev-sumi-20220721-productivity-features
findyinc
7
2.7k
Go1.19で採用された Pattern-defeating Quicksort の紹介
po3rin
7
1.6k
SGGとは
inoue2002
0
440
僕が便利だと感じる Snow Monkey の特徴/20220723_Gifu_WordPress_Meetup
oleindesign
0
110
Featured
See All Featured
The Art of Programming - Codeland 2020
erikaheidi
32
11k
Agile that works and the tools we love
rasmusluckow
319
19k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
349
27k
Typedesign – Prime Four
hannesfritz
34
1.4k
JazzCon 2018 Closing Keynote - Leadership for the Reluctant Leader
reverentgeek
173
8.6k
YesSQL, Process and Tooling at Scale
rocio
157
12k
Fashionably flexible responsive web design (full day workshop)
malarkey
396
62k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
119
28k
Why You Should Never Use an ORM
jnunemaker
PRO
47
7.7k
A better future with KSS
kneath
226
16k
Thoughts on Productivity
jonyablonski
44
2.4k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
100
6k
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 Christian.Nagel@cninnovation.com
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