~/talk

C# 7

Talkat NDC Oslo 2017 · 2017-06-14..06-16· [career-development]
slides:none on file

Overview of C# 7 language features and practical caveats with examples and tools: value tuples via System.ValueTuple NuGet package replace System.Tuple for low‑overhead pairs, support named elements (up to seven plus a Rest) but names are compiler only so use cautiously and keep tuples internal; deconstruction uses a deconstruct method (including extension methods) and introduces discards with underscore; new ValueTask<T> enables custom async return types; out variables, pattern matching in is and switch, ref locals/returns, throw expressions, binary literals, and local functions that avoid heap allocations by using a compiler generated struct.

AI-written summary · about

  1. 0:00Intro
  2. 5:33tuples
  3. 14:44minmax
  4. 18:04names
  5. 20:19variables
  6. 24:26implicit conversion
  7. 26:07identity conversion
  8. 33:24couple deconstruction
  9. 35:52deconstruct
  10. 38:55deconstruction
  11. 45:30Out variables
  12. 47:27definite assignment
  13. 49:10pattern matching
  14. 51:19types of patterns
  15. 53:52patterns in switch statements
  16. 57:18throw expressions
~/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.