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
97
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
210
C# 7.0 - Neuheiten im Detail (BASTA! Spring 2017)
christiannagel
0
110
C# 7.0 - What's New (Show IT, Bratislava, 2017)
christiannagel
0
180
Creating Desktop Apps with UWP (Show IT, Bratislava 2017)
christiannagel
0
73
Creating Desktop Apps with UWP (G2B TechEd, Brno 2017)
christiannagel
0
89
WPF 4.5 - Die Neuerungen im Überblick
christiannagel
0
150
Async mit C# 5
christiannagel
1
130
Windows Store Apps mit C#
christiannagel
0
52
Tiles, Toasts & Notifications
christiannagel
0
64
Other Decks in Programming
See All in Programming
PHPerKaigi 2024〜10年以上動いているレガシーなバッチシステムを Kubernetes(Amazon EKS) に移行する取り組み〜
tshinowpub
1
220
htmx is fun!
codehex
2
190
Creating Retro-Style Photos Using Swift
ski
1
370
品質とスピードを両立: TypeScriptの柔軟な型システムをバックエンドで活用する
kosui
5
1.2k
WinUI 3デモ - "CommunityToolkit.Mvvm"NuGetパッケージ編
andrewkeepcoding
0
140
SwiftUI, Jetpack Composeの導入で変化した「家族アルバム みてね」のアプリ開発体験
hicka04
6
400
オブジェクトしこう
okuramasafumi
2
130
マイ隙間家具OSSたちのご紹介
karupanerura
2
160
TDDと今まで
kanayannet
0
140
プロンプトエンジニアリング入門
tomokusaba
2
990
DDD, necessary but insufficient: physical design principles for microservices
cer
PRO
0
2.2k
Learning PHP and Static Analysis with PHP Parser
inouehi
1
250
Featured
See All Featured
Building Adaptive Systems
keathley
29
1.8k
Web development in the modern age
philhawksworth
201
10k
The Art of Programming - Codeland 2020
erikaheidi
40
12k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
272
12k
5 minutes of I Can Smell Your CMS
philhawksworth
199
19k
Fantastic passwords and where to find them - at NoRuKo
philnash
35
2.4k
How GitHub Uses GitHub to Build GitHub
holman
467
290k
The Language of Interfaces
destraynor
150
23k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
501
140k
What's in a price? How to price your products and services
michaelherold
236
11k
What's new in Ruby 2.0
geeforr
335
31k
Visualization
eitanlees
135
14k
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