C# 8 and Beyond
summary
C# 8 delivers concrete features: switch expressions with recursive, positional and property patterns (tuples and deconstructs), index/range syntax and Span<T] for slicing, and await foreach async streams that yield lines without waiting for the full payload. It introduces nullable reference types as warnings to catch potential null refs and adds using-declarations, static local functions and default interface methods (controversial). Many features ship as Roslyn/SDK previews for Visual Studio 2019; ranges demo breaks in the IDE but runs from the command line.
AI-written summary · about
chapters (35)
- 0:00Start
- 0:10Future of C-Sharp
- 1:15Phillip Ekberg
- 9:22Visual Studio
- 10:01Tuples and Pattern Matching
- 12:30Deconstruction
- 13:15Pattern Matching
- 14:26Exception Filters
- 15:28Recursive Patterns
- 16:11Switch Expressions
- 16:55Positional Patterns
- 18:22Property Pattern
- 19:34Default Pattern
- 21:21Tuple Patterns
- 25:06Ranges
- 28:42Null Reference Types
- 30:41Null Reference Exception
- 32:25Coalescing Assignment
- 34:05Electricians
- 34:55Preview Features
- 36:04Local Functions
- 36:41Synchronous Stream
- 37:54Sink Enumerable
- 42:15Custom Attributes
- 42:28Generic Attributes
- 43:00Debug Data Search
- 45:25Default Interface Methods
- 46:43Multiple Inheritance
- 48:08Neutralizing Assignment
- 51:27Record Types
- 52:19True Equality Checks
- 53:10Declaration Expressions
- 53:27Dictionaries
- 53:57Type Classes
- 55:35Are They Endorsed by the C-Sharp Language Team
related talks
43mWhat’s coming in C# 8.0?
01h 01mC# 8
13mWhat's New in C# 8.0
01h 00mWhat's new in C#? - Exciting new features in C# 9, 10 and 11!
59mWhat's new in C#? Exciting new features in C# 9, 10 and 11!
01h 03mWhat's new in C#? Exciting new features in C# 8.0, 9.0 and 10!
01h 00mWhat's new in C#? Exciting new features in C# 8.0, 9.0 and 10!
59mWhat's new in C#? Exciting new features in C# 8.0, 9.0 and 10!
