The Top 10 Best New Features in C# Version 6 to 9
summary
Covers ten concrete C# additions (6→9) with code examples, compiler notes and migration steps: shows string interpolation and out-variable declarations as syntactic sugar, explains default interface methods as a way to add nonbreaking implementations, demos nullable reference types as an opt-in compiler check that surfaces thousands of warnings but can be escalated to errors, uses NuGet for value tuples, demonstrates pattern matching switch expressions and record types that auto-generate value equality and with-expressions.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 1:53Default Language Versions
- 3:53No. 10: String Interpolation
- 6:16No. 9: Default Interface Methods
- 10:28No. 8: Out Variables
- 12:27No. 7: Expression-Bodied Members
- 16:46No. 6: Discards
- 23:44No. 5.1: Null-Conditional Operator
- 26:28No. 5.2: Null-Coalescing Assignment
- 29:16No. 4: Nullable Reference Types
- 37:40No. 3: Named Tuples
- 43:51No. 2: Pattern Matching & Switch Expressions
- 49:45No. 1: Record Types
- 53:45Closing Notes
- 55:35Q&A
related talks
59mWhat's new in C#? Exciting new features in C# 9, 10 and 11!
41mWhat's New in C# 9
01h 00mWhat's new in C#? - Exciting new features in C# 9, 10 and 11!
55mLet’s catch up with C#! Exciting new features in C# 9, 10, 11 and 12!
01h 03mWhat'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!
01h 00mWhat's new in C#? Exciting new features in C# 8.0, 9.0 and 10!
59mLet’s catch up with C#! Exciting new features in C# 9, 10, 11, 12 and 13!
