~/talk

Let’s catch up with C#! Exciting new features in C# 9, 10, 11, 12 and 13!

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

Covers concrete C# 9–13 changes with code demos in Visual Studio and SharpLab that decompile into equivalent IL and measure effects: records and init-only setters with value equality, primary constructors and required properties that turn warnings into compile errors, pattern and span patterns allocation-free examples, collection expressions and spread, raw string literals, and an interceptor demo that replaces a logger call at compile time so the exception never fires. Notes runtime requirements (net9) and minor performance gains from cached delegates.

AI-written summary · about

  1. 0:00Welcome to C# updates
  2. 2:28Why upgrade to latest .NET
  3. 3:30C# 9 features and records
  4. 7:03Pattern matching evolution
  5. 10:11File scope namespaces in C# 9
  6. 12:40Demo: C# 9 records
  7. 13:23Pattern matching in C# 9
  8. 16:14Global using directives in C# 10
  9. 18:03C# 10 structs and records
  10. 19:27Improved lambdas in C# 10
  11. 20:29Minimal APIs in C# 10
  12. 21:13Required and nullable in C# 11
  13. 23:20Demo: C# 11 required props
  14. 25:25List patterns in C# 11
  15. 28:33Raw string literals in C# 11
  16. 28:53C# 12 new features
  17. 31:01Collection expressions in C# 12
  18. 31:22Primary constructors in C# 12
  19. 32:05Interceptors in C# 12
  20. 34:32C# 13 reducing boilerplate
  21. 35:15Field keyword in C# 13
  22. 36:59Params collection in C# 13
  23. 38:24New lock semantics in C# 13
  24. 39:05Future of C#
  25. 39:47Summary
~/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.