~/talk

What's new in C# 11 now with less controversy!!

Talkat NDC Melbourne 2022 · 2022-06-20..06-24· [dotnet]
slides:none on file

C# 11 demos run on Visual Studio 2022 preview and targets .NET 7 with SharpLab decompilation; examples show raw string literals (triple quotes, interpolation with multiple $ and preserved indentation) and UTF‑8 literals producing ReadOnlySpan<byte> not string, saving allocations. Pattern examples include list patterns for path parsing and subarray capture. New compile‑time features are required members (required keyword, SetsRequiredMembers attribute, emitted attributes for older compilers) and static abstract interface members that enable generic math and parseable factories.

AI-written summary · about

  1. 0:00Introduction to C# 11
  2. 2:04Raw string literals
  3. 9:15List patterns
  4. 16:50UTF-8 string literals
  5. 20:06Required members
  6. 31:23Static abstract interfaces
  7. 41:09Miscellaneous features
~/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.