~/talk

Improving with C# 8.0

Talkat Øredev 2019 · 2019-11-06..11-08· [typescript]
slides:none on file

Shows concrete C# 8 features and tradeoffs: nullable reference types opt in via project file and produce many warnings but catch null dereferences; IAsyncEnumerable plus await foreach for asynchronous streams; recursive pattern matching and switch expressions that combine with tuples and Deconstruct for positional/property patterns; range/index syntax (.. and ^) and Span<T> slicing for zero-copy slices; enhanced using declarations and default interface implementations (requires .NET Core 3.0, shipped Sept 2019) and notes about migration pain and compiler directives to suppress warnings.

AI-written summary · about

  1. 0:00Introduction
  2. 4:00Tuples
  3. 6:32Named tuples
  4. 8:07Pattern matching
  5. 10:19Switch expression
  6. 12:19Using tuples
  7. 16:14Property patterns
  8. 19:54Collections of data
  9. 23:55Nulls
  10. 24:30Nullable References
  11. 31:33Asynchronous Streams
  12. 36:10Default Interface Methods
  13. 39:02Conclusion
~/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.