C# 8 and Beyond
summary
C# 8 requires .NET Core 3.0 and the Roslyn preview compiler and shows concrete changes: IAsyncEnumerable await foreach streams lines from disk without allocations, ranges + Span<T> slice without copies, and nullable reference types opt-in emit compiler warnings to find null bugs. Live demos use Visual Studio 2019 preview for tuples, recursive pattern matching and switch expressions, using declarations, static local functions, and async streams; record types, default interface methods and other proposals are described but not all are yet implemented.
AI-written summary · about
chapters (49)
- 0:00Introduction
- 1:44Filip Ekberg
- 4:52Candidate List
- 5:54Release Date
- 6:23Features of Language
- 7:01Slides
- 7:12Visual Studio
- 7:42Tuples
- 11:50Pattern Matching
- 14:31Switch Expressions
- 17:55Tupple Pattern
- 18:57Positional Pattern
- 19:40Property Pattern
- 20:48Visibility Front Bool
- 21:27More Realistic Example
- 22:07Ranges
- 25:19No Level Reference Types
- 25:43Knowable
- 26:30Notable Reference Type
- 30:50null
- 31:10using declarations
- 32:47static local functions
- 34:09asynchronous stream enumerables
- 35:22asynchronous stream implementation
- 36:53synchronous reading
- 37:24last session of the day
- 37:46rickrolled
- 38:03PowerPoint
- 38:18Darknet Core
- 38:54Triangle
- 40:03Generic Attributes
- 40:33Color Expression Attributes
- 41:05Condition Parameter
- 41:34Enhanced Duck Typing
- 42:56Interface Methods
- 44:23No Equalizing Assignment
- 45:02FSharp
- 45:39CSharp
- 46:22No Conditional Weight
- 46:43Record Types
- 47:29Immutable Properties
- 47:52Width Width Method
- 48:18Deconstruct
- 48:41Declaration Expressions
- 49:19Extension Methods
- 51:23Type Classes
- 51:39ReadOnly
- 51:54Range
- 52:36Conclusion
related talks
37mC# 8 and Beyond
56mC# 8 and Beyond
47mExploring C# 8: The Deep Dive
01h 03mWhere is C# headed?
01h 02mWhat's new in C#? Exciting new features in C# 8 0 and 9 0
01h 00mWhat's new in C#? Exciting new features in C# 8.0, 9.0 and 10!
39mThe State of C# - What Have I Missed?
01h 06mThe State of C# - What Have I Missed?
