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 (G2B TechEd Brno, 2017)
Search
Christian Nagel
February 06, 2017
Programming
0
130
C# 7.0 - What's New (G2B TechEd Brno, 2017)
Syntax Enhancements for C# 7.0
Christian Nagel
February 06, 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
340
C# 7.0 - Neuheiten im Detail (BASTA! Spring 2017)
christiannagel
0
120
C# 7.0 - What's New (Show IT, Bratislava, 2017)
christiannagel
0
190
Creating Desktop Apps with UWP (Show IT, Bratislava 2017)
christiannagel
0
92
Creating Desktop Apps with UWP (G2B TechEd, Brno 2017)
christiannagel
0
100
WPF 4.5 - Die Neuerungen im Überblick
christiannagel
0
160
Async mit C# 5
christiannagel
1
150
Windows Store Apps mit C#
christiannagel
0
77
Tiles, Toasts & Notifications
christiannagel
0
100
Other Decks in Programming
See All in Programming
Things You Thought You Didn’t Need To Care About That Have a Big Impact On Your Job
hollycummins
0
210
Devoxx BE - Local Development in the AI Era
kdubois
0
120
iOSエンジニア向けの英語学習アプリを作る!
yukawashouhei
0
190
Serena MCPのすすめ
wadakatu
4
960
なぜGoのジェネリクスはこの形なのか? Featherweight Goが明かす設計の核心
ryotaros
7
1.1k
Swift Concurrency - 状態監視の罠
objectiveaudio
2
490
iOSアプリの信頼性を向上させる取り組み/ios-app-improve-reliability
shino8rayu9
0
170
いま中途半端なSwift 6対応をするより、Default ActorやApproachable Concurrencyを有効にしてからでいいんじゃない?
yimajo
2
400
Server Side Kotlin Meetup vol.16: 内部動作を理解して ハイパフォーマンスなサーバサイド Kotlin アプリケーションを書こう
ternbusty
1
110
スマホから Youtube Shortsを見られないようにする
lemolatoon
16
16k
Go Conference 2025: Goで体感するMultipath TCP ― Go 1.24 時代の MPTCP Listener を理解する
takehaya
8
1.6k
Go言語の特性を活かした公式MCP SDKの設計
hond0413
1
210
Featured
See All Featured
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.9k
Speed Design
sergeychernyshev
32
1.1k
Visualization
eitanlees
148
16k
Balancing Empowerment & Direction
lara
4
680
Become a Pro
speakerdeck
PRO
29
5.5k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
189
55k
How STYLIGHT went responsive
nonsquared
100
5.8k
Designing for humans not robots
tammielis
254
26k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.2k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
Raft: Consensus for Rubyists
vanstee
139
7.1k
Into the Great Unknown - MozCon
thekraken
40
2.1k
Transcript
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