~/talk

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

Talkat NDC Oslo 2022 · 2022-09-26..09-30· [dotnet, compilers-and-language-design]
slides:none on file

Overview of concrete language changes in C# 8–10: enables nullable reference types to surface potential null-reference bugs and recommends enabling them plus treating warnings as errors; adds richer pattern matching (type, property, tuple, deconstruct, recursive); introduces records/record structs, init-only setters and top-level statements; supports async streams (IAsyncEnumerable + yield) for streaming I/O; adds file-scoped namespaces, global usings, default interface methods (library-compatibility use case), and compiler inference for lambdas. Examples compile on .NET Core/.NET 6+, and the talk demos fixing real NREs and streaming file lines without loading whole files.

AI-written summary · about

  1. 0:00C# evolution overview
  2. 3:17C# 7 enabling innovations
  3. 7:32C# 8.0 groundbreaking changes
  4. 14:08Nullable reference types
  5. 27:51Async streams for data
  6. 34:34Pattern matching evolution
  7. 40:16Records and equality
  8. 50:36C# 9-10 productivity
  9. 56:13Future of C#
  10. 59:46Q&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.