~/talk

C# 8 and Beyond

Talkat NDC Sydney 2019 · 2019-10-14..10-18· [c-sharp]
slides:none on file

C# 8 adds concrete features with demos and tradeoffs: switch expressions and recursive patterns let code match deconstructed tuples and properties instead of verbose type checks; IAsyncEnumerable implements asynchronous streams (demo streams lines to console — rickroll example works); nullable reference types are opt-in and produce widespread compiler warnings that catch many potential NREs but require library annotation; ranges/indices and Span<T> slice without copying; using declarations auto-dispose at method end; default interface methods allow library evolution without breaking consumers but introduce inheritance complexity.

AI-written summary · about

  1. 0:00Start
  2. 43:51Target-type new expression
  3. 44:39default in deconstruction
  4. 45:02Generic attributes
  5. 46:11Caller expression attribute
  6. 47:29Null-conditional await
  7. 47:54Record Types
  8. 49:46Declaration expressions
  9. 50:34Dictionary literals
  10. 51:03Extension Everything
~/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.