~/talk

What’s new in C# 12 and beyond

Talkat Microsoft Build 2023 · 2023-05-23..05-25· [dotnet]
links:none on file
links:none on file
links:none on file
slides:none on file

Preview of C# 12 shows concrete changes: primary constructors land for all classes/structs (parameters are real constructor params and can be captured), type aliases accept more syntactic forms, and collection literals plus a spread operator match new list patterns so literals construct target-typed collections. Demo compiles in Roslyn/VS; some features remain experimental (natural type for literals, field backing access in auto-properties) due to breaking-change concerns. Roadmap includes extension types (explicit/implicit overlays) and performance-first codegen.

AI-written summary · about

  1. 0:00Welcome
  2. 5:25C# 11 improvements
  3. 9:36Primary constructors
  4. 17:24Collection literals
  5. 27:31Future plans
  6. 31:23Field access in auto properties
  7. 36:41Extension types
  8. 44:13Closing
~/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.