~/talk

Let’s catch up with C#! Exciting new features in C# 9, 10, 11 and 12!

Talkat CPH DevFest 2024 · 2024-08-26..08-30· [dotnet]
slides:none on file

Walks through concrete C# 8–12 changes with compile-time examples in Visual Studio: nullable reference types now warn by default and work with required and init-only so object initializers and JSON deserialization must set properties or the compiler complains; records and with-expressions give value equality and cheap immutability; collection expressions and spread element build target-typed lists but allocate copies; shows interceptors replacing calls at compile time (used in ASP.NET Core) and notes the withdrawn parameter-null-check proposal.

AI-written summary · about

  1. 0:00Introduction
  2. 1:50Nullable reference types
  3. 8:32Async streams basics
  4. 12:45C# 9 records and top-level
  5. 19:10Pattern matching in C# 9
  6. 27:48C# 10 minimal APIs
  7. 32:01C# 11 list patterns
  8. 38:22C# 12 primary constructors
  9. 46:13C# 12 interceptors
  10. 48:01C# 13 preview
  11. 53:19Adopting new C# features
  12. 54:24Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.