~/talk

C# 8

Talkat NDC Oslo 2018 · 2018-06-11..06-15· [dotnet]
slides:none on file

C# 8 preview shows concrete changes: nullable reference types flip the default to non-nullable by warning-only opt‑in and use ? annotations that travel across assemblies, plus a null‑forgiving postfix operator (!) to suppress warnings; flow analysis recognizes common null checks but has thread/race corner cases and an attribute language for special method null behavior. Pattern matching gains person switch { ... } switch expressions, property/positional/deconstruct patterns, and exhaustiveness checks. Indexes and ranges use ^ and .. for from-end indexing and slicing, useful with Span<T>.

AI-written summary · about

  1. 0:00Introduction
  2. 4:12Strings
  3. 4:37Middle Name
  4. 5:12Length
  5. 13:49Checking for Null
  6. 18:54No Ability
  7. 24:48Patterns
  8. 35:14Recursive Patterns
  9. 41:08Null Patterns
  10. 45:47Deconstruction
  11. 50:44Variable Declarations
  12. 52:31Indexes and Ranges
  13. 54:14Range Expressions
  14. 57:05Live Code
~/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.