SlideShare a Scribd company logo
C# 7.X and beyond
Andrea Angella, March 2018
C# 7.0
C# 7.1
C# 7.2
C# 7.X and beyond
C# 7.X and beyond
C# 7.0, 7.1 and 7.2 features
10. Ref returns and locals
11. Async Main
12. Default expressions
13. In Parameters
14. Ref readonly
15. Readonly struct
16. Ref struct
17. Private Protected access modifier
18. Non-Trailing named arguments
1. Inline Out Variable
2. Tuples
3. Pattern Matching in Is Expression
4. Pattern Matching in Switch Statement
5. Local Functions
6. Throw Expressions
7. Binary Literals and Digit Separators
8. Expression bodied members
9. ValueTask<T>
C# 7.3 and future features
14. Fixed sized buffers
15. Negation of if/while condition
16. Extension everything
17. Async Enumerable and Async Dispose
18. Query foreach
19. Null-conditional await
20. Null-coalescing assignments
21. Default implementation in interfaces
22. Dictionary literals
23. Constant patterns
24. is not pattern?
25. Methods in Enums
26. Implicitly scoped using statement
1. Ref local assignment expression
2. Ref this for extension methods
3. by value vs `in` overload tiebreaker
4. Attributes on auto-implemented properties
5. New generic constraints
6. Operators == and != for Tuples
7. IEnumerable<T> in params
8. Target typed stackalloc initializers
9. Utf8 string literal
10. Nullable References
11. Records
12. Slicing with Ranges
13. Native Number Types
C# 7.0
Inline Out Variables
Expression Bodied Members
Binary Literals and Digit Separators
Is Expression with Pattern Matching
Switch Expression with Pattern Matching
Local Functions
Tuples
Tuples Deconstruction
Throw Expressions
ValueTask<T>
Ref Returns and Locals
C# 7.1
Inferred Tuple Element Names
Default Expression
Async Main
C# 7.2
Non Trailing Named Arguments
Protected Internal
Private Protected
Ref Readonly
In Parameters
Readonly Struct
Ref Structs
Span<T> and Memory<T>
C# 7.3
DISCLAIMER: Everything from here on is all under
active development and subject to change!
C# 7.3 Progress Board
C# Language Design Meetings
Ref local assignment expression
Ref this for extension methods
By value vs `in` overload tiebreaker
New generic constraints
Attributes on auto-implemented properties
Operators == and != for Tuples
Target typed stackalloc initializers
IEnumerable<T> in params
C# 8.0
DISCLAIMER: Everything from here on is all under
active development and subject to change!
Nullable References
https://github.com/dotnet/csharplang/wiki/Nullable-Reference-Types-Preview
Records
With expressions
Slicing with Ranges
Extension Everything
Async Enumerable and Dispose
Default implementation in interfaces
Native Number Types
nint
nuint
Fixed sized buffers
Negation of if/while condition
Null-conditional await
Null-coalescing assignments
Implicitly scoped using statement
C# X.X
DISCLAIMER: Everything from here on is all under
active development and subject to change!
utf8 string literals
Query-foreach
More caller member attributes
Readonly for locals and parameters
Dictionary Literals
… and more proposals
https://github.com/dotnet/csharplang/labels/Proposal
Follow Andrea at www.productivecsharp.com
www.productivecsharp.com
JOIN the Productive C# Membership Today
• 70+ practical C# .NET Videos (3 new videos added weekly)
• Practical Self-Contained Hands-On Videos (no slides, no theory)
• Curated Weekly C# Newsletter
• Get free licenses from sponsors
• Exclusive online mastermind group
• Unlimited access to Andrea Angella
Use coupon slideshare at checkout to get a 10% OFF discount
https://www.productivecsharp.com/membership/
I C#
JavaScript?
Thanks

More Related Content

PPTX
PDF
2.Getting Started with C#.Net-(C#)
PDF
The State of C#
PPTX
Deep Dive C# 8.0
PPT
5 introduction-to-c
PPTX
ConFoo Montreal - Microservices for building an IDE - The innards of JetBrain...
PPTX
NDC Sydney 2019 - Microservices for building an IDE – The innards of JetBrain...
PPSX
Esoft Metro Campus - Programming with C++
2.Getting Started with C#.Net-(C#)
The State of C#
Deep Dive C# 8.0
5 introduction-to-c
ConFoo Montreal - Microservices for building an IDE - The innards of JetBrain...
NDC Sydney 2019 - Microservices for building an IDE – The innards of JetBrain...
Esoft Metro Campus - Programming with C++

Similar to C# 7.X and beyond (20)

DOCX
C-sharping.docx
PPTX
Microservices for building an IDE – The innards of JetBrains Rider - TechDays...
PPTX
What's New in C# ? C# 6, 7.0, 7.1 and 7.2
PPTX
C Programming - Basics of c -history of c
PPTX
FUNCTIONS, CLASSES AND OBJECTS.pptx
PDF
C++ Training
PDF
C and CPP Interview Questions
PPTX
C# lecture 2: Literals , Variables and Data Types in C#
PPTX
introductory concepts
PDF
C programming.pdf
PDF
7 expressions and assignment statements
PPSX
Complete C++ programming Language Course
PPTX
Features and Fundamentals of C Language for Beginners
PPTX
What's Coming in C# 9.0
PDF
Unit 5 Part 1 Macros
PPTX
Pointers Refrences & dynamic memory allocation in C++
PPT
Introduction to pointers and memory management in C
PDF
C Languages FAQ's
PPTX
Structured Languages
PPTX
c# at f#
C-sharping.docx
Microservices for building an IDE – The innards of JetBrains Rider - TechDays...
What's New in C# ? C# 6, 7.0, 7.1 and 7.2
C Programming - Basics of c -history of c
FUNCTIONS, CLASSES AND OBJECTS.pptx
C++ Training
C and CPP Interview Questions
C# lecture 2: Literals , Variables and Data Types in C#
introductory concepts
C programming.pdf
7 expressions and assignment statements
Complete C++ programming Language Course
Features and Fundamentals of C Language for Beginners
What's Coming in C# 9.0
Unit 5 Part 1 Macros
Pointers Refrences & dynamic memory allocation in C++
Introduction to pointers and memory management in C
C Languages FAQ's
Structured Languages
c# at f#
Ad

Recently uploaded (20)

PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Tartificialntelligence_presentation.pptx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Encapsulation_ Review paper, used for researhc scholars
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Encapsulation theory and applications.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PPTX
Big Data Technologies - Introduction.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PPTX
1. Introduction to Computer Programming.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Building Integrated photovoltaic BIPV_UPV.pdf
SOPHOS-XG Firewall Administrator PPT.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Tartificialntelligence_presentation.pptx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Group 1 Presentation -Planning and Decision Making .pptx
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
Encapsulation_ Review paper, used for researhc scholars
“AI and Expert System Decision Support & Business Intelligence Systems”
Mobile App Security Testing_ A Comprehensive Guide.pdf
Network Security Unit 5.pdf for BCA BBA.
Encapsulation theory and applications.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Big Data Technologies - Introduction.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
gpt5_lecture_notes_comprehensive_20250812015547.pdf
1. Introduction to Computer Programming.pptx
Ad

C# 7.X and beyond