Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
C# 7.0 - What's New (G2B TechEd Brno, 2017)
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Christian Nagel
February 06, 2017
Programming
160
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
C# 7.0 - What's New (G2B TechEd Brno, 2017)
Syntax Enhancements for C# 7.0
Christian Nagel
February 06, 2017
Transcript
29 slides
Christian Nagel @christiannagel www.cninnovation.com C# 7.0 – What’s New! plus
.NET Core Intro PLATINUM PARTNER
History of C# • OO & Component Oriented 1.0 •
Generics 2.0 • LINQ 3.0 • Dynamic 4.0 • Async 5.0 • Roslyn & Many Improvements 6.0
Agenda History of C# Goals of C# New Syntax with
C# 7.0 Intro to .NET Core
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
Property Enhancements – Initialization, Read-Only, Getter-Only Expression Bodied Methods Exception Filters String Interpolation Null Conditional Operator
None
NEW SYNTAX WITH C# 7.0
SAMPLE CODING…
C# 7.0 Syntax Enhancements Digit Separators and Binary Literals
Out Var, Ref Local and Ref Return Local Functions Expression Syntax Everywhere Pattern Matching Tuples and Deconstruction
None
INTRO TO .NET CORE
Why a new .NET? Open Source Multi-Platform
Modern Patterns Faster Innovations
Workloads ASP.NET Core Universal Windows Platform (UWP)
Xamarin.Forms
Versions Long Term Support Releases (LTS) Current Releases
Version Release Date Patch Support Level Support End .NET Core 1.1 Nov-16, 2016 1.1.0 Current Current v.next + 3 months .NET Core 1.0 Jun-27, 2016 1.0.3 LTS LTS v.next + 12 months
.NET Standard Create Libraries with .NET Standard Use
it from different .NET Platforms Replaces Portable Libraries 1.4 – UWP, .NET Core 1.0, .NET 4.6.1 – 13,501 APIs 2.0 – UWP vnext, .NET Core 2.0, .NET 4.6.1 – 32,638 APIs Compatibility Shim – Reference .NET Framework Libraries
Command Line dotnet new dotnet restore dotnet
build dotnet run
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 Growing Plant © Kateleigh Problem Solving Series © Pablo631 Fireworks over Brno © Olga Langerova http://www.dreamstime.com
Děkuji za pozornost. www.gopas.cz www.G2BTeched.cz www.TechEd.cz
More Decks by Christian Nagel
See All by Christian Nagel
ASP.NET Core und ASP.NET Core MVC (BASTA! Spring 2017)
christiannagel
0
400
C# 7.0 - Neuheiten im Detail (BASTA! Spring 2017)
christiannagel
0
140
C# 7.0 - What's New (Show IT, Bratislava, 2017)
christiannagel
0
230
Creating Desktop Apps with UWP (Show IT, Bratislava 2017)
christiannagel
0
110
Creating Desktop Apps with UWP (G2B TechEd, Brno 2017)
christiannagel
0
130
WPF 4.5 - Die Neuerungen im Überblick
christiannagel
0
180
Async mit C# 5
christiannagel
1
170
Windows Store Apps mit C#
christiannagel
0
120
Tiles, Toasts & Notifications
christiannagel
0
130
Other Decks in Programming
See All in Programming
protojson における文字化けの扱い
kazuki1023
0
440
仕様駆動開発入門 (何を作るかを先に決めて渡す) | 目指せ Kiro マスター 05
inariku
PRO
2
180
LLM 101
dalinaum
0
510
AIが実装を担う時代の「技術設計」と「チームマネジメント」
kamina_zzz
2
270
Spec-Driven Development - Why Vaadin Is the Perfect Fit
simas
PRO
0
250
SFCで実現する病院・医療システムの動的組み立て式UI
koukimiura
1
180
コード生成時代のAPI定義を支えるRequest Spec移行
pvcresin
0
250
AIがコードを書いてくれる時代、我々は何を確かめるのか
yosuke_furukawa
PRO
13
6.1k
クラウドゲーミングのパフォーマンス最適化に挑む / Cloud Gaming Performance Tuning
vivion
0
350
ローカルLLMの基本と近況 2611 / Local LLM basics and recent situation 2611
kishida
3
560
高橋メソッドでCVE解説シリーズ 〜CVE-2026-112816〜
hakkadaikon
0
270
AI Augmentation Techniques with Liberty
ivargrimstad
1
510
Featured
See All Featured
KATA
mclloyd
PRO
35
16k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
Why Our Code Smells
bkeepers
PRO
340
58k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
610
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
460
Color Theory Basics | Prateek | Gurzu
gurzu
1
530
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
203
77k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.6k
Highjacked: Video Game Concept Design
rkendrick25
PRO
2
580
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.8k
Making Projects Easy
brettharned
120
6.9k