~/talk

What's new in C#? Exciting new features in C# 8.0, 9.0 and 10!

Talkat NDC Sydney 2022 · 2022-10-12..10-14· [dotnet]
slides:none on file

Quick tour of concrete C# changes and how to use them: C# 8, 9 and 10 add nullable reference types with compiler null-state analysis (enabling it plus treat-warnings-as-errors surfaces four real errors in the demo), async streams via IAsyncEnumerable and await foreach that yield items without buffering, and records (immutable, value-equality, deconstructors) plus init-only setters and target-typed new. Notes the runtime ties (.NET Core 3.0 → C# 8, .NET 5 → C# 9, .NET 6 → C# 10), default interface implementations, switch expressions, minimal APIs and file-scoped namespaces.

AI-written summary · about

  1. 0:00Welcome to C# updates
  2. 6:48C# 8.0 new features
  3. 13:05Nullable reference types
  4. 26:58Async streams in C# 8.0
  5. 31:56Records and pattern matching
  6. 47:16C# 10.0 features
  7. 51:51Future of C#
~/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.