Be Sharp with New Features in C#
summary
Covers practical C# 9–12 changes with live Visual Studio demos and a downloadable GitHub repo, showing what actually compiles and where caveats appear. Demonstrations include top-level statements and the new omission of type with new, triple-quote raw strings with interpolation rules, numeric generics via INumber<T> and how operators/IsZero are available, required/init properties that avoid losing parameterless constructors, file-scoped and global usings, collection spread expressions, and C#12 primary constructors that generate hidden backing fields and can surprise initialization semantics.
AI-written summary · about
chapters (14)
- 0:00🚀 Build Stuff Conference – Get Your Tickets!
- 1:10Introduction: Exploring New C# Features
- 3:40Top-Level Statements in C# 9
- 6:30The Omission of Type in Declarations
- 9:15Working with String Literals in C#
- 12:00Using Generics for Numeric Types
- 15:50Required Properties and the ‘init’ Keyword
- 20:10Primary Constructors in C# 12
- 23:45Pattern Matching: A Game Changer
- 28:30File-Scoped Namespaces in C#
- 31:00Implicit Usings and Global Usings in C#
- 35:40Working with Collection Expressions in C#
- 39:10Inheritance and Primary Constructors in Action
- 42:00Conclusion: Mastering New C# Features
related talks
59mWhat'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 14mThe Top 10 Best New Features in C# Version 6 to 9
01h 00mWhat's new in C#? - Exciting new features in C# 9, 10 and 11!
58mWhat's new in C# 11 now with less controversy!!
59mLet’s catch up with C#! Exciting new features in C# 9, 10, 11, 12 and 13!
41mWhat's New in C# 9
59mLet’s catch up with C#! Exciting new features in C# 9, 10, 11, 12 and 13!
