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
150
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
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
C# 7.0 - What's New (Show IT, Bratislava, 2017)
christiannagel
0
220
Creating Desktop Apps with UWP (Show IT, Bratislava 2017)
christiannagel
0
100
Creating Desktop Apps with UWP (G2B TechEd, Brno 2017)
christiannagel
0
110
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
120
Other Decks in Programming
See All in Programming
アルゴリズムは何を圧縮しているのか ─ Haskell から育った「圧縮代数」というメンタルモデル
naoya
16
3.5k
トークンをケチるな、設計しろ:GitHub Copilotを賢く使うコンテキスト戦略
ochtum
0
320
AIエージェントで 変わるAndroid開発環境
takahirom
2
650
Developing with AI Agents — Codex, Claude Code & Cowork Practical Guide
x5gtrn
PRO
0
1.4k
Creating Composable Callables in Contemporary C++
rollbear
0
210
吝嗇家のためのAI活用 / AI development for miser - ChatGPT + Issue Driven Development
tooppoo
0
190
えっ!!コードを読まずに開発を!?
hananouchi
0
200
PHP Application における Kubernetes 内 gRPC 通信
ganchiku
0
420
symfony/aiとlaravel/boost
77web
0
130
AIを活用したE2Eテスト実装効率化のあゆみ / ebisu-mobile-14-kotetu
kotetuco
0
170
【やさしく解説 設計編 #0】DDDのコード、読めるのに分からない人へ
panda728
PRO
2
270
共通化で考えるべきは、実装より公開する型だった
codeegg
0
240
Featured
See All Featured
My Coaching Mixtape
mlcsv
0
170
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.8k
How STYLIGHT went responsive
nonsquared
100
6.2k
Faster Mobile Websites
deanohume
310
32k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.9k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
550
What's in a price? How to price your products and services
michaelherold
247
13k
New Earth Scene 8
popppiees
3
2.4k
Building Applications with DynamoDB
mza
96
7.1k
jQuery: Nuts, Bolts and Bling
dougneiner
66
8.5k
The untapped power of vector embeddings
frankvandijk
2
1.8k
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