~/talk

Be Sharp with New Features in C#

Talkat Build Stuff 2023 · 2023-11-15..11-17· [dotnet]
slides:none on file

Covers practical C# 9–12 changes with live Visual Studio demos and a downloadable GitHub repo, showing what actually compiles and where caveats appear. Demonstrations include top-level statements and the new omission of type with new, triple-quote raw strings with interpolation rules, numeric generics via INumber<T> and how operators/IsZero are available, required/init properties that avoid losing parameterless constructors, file-scoped and global usings, collection spread expressions, and C#12 primary constructors that generate hidden backing fields and can surprise initialization semantics.

AI-written summary · about

  1. 0:00🚀 Build Stuff Conference – Get Your Tickets!
  2. 1:10Introduction: Exploring New C# Features
  3. 3:40Top-Level Statements in C# 9
  4. 6:30The Omission of Type in Declarations
  5. 9:15Working with String Literals in C#
  6. 12:00Using Generics for Numeric Types
  7. 15:50Required Properties and the ‘init’ Keyword
  8. 20:10Primary Constructors in C# 12
  9. 23:45Pattern Matching: A Game Changer
  10. 28:30File-Scoped Namespaces in C#
  11. 31:00Implicit Usings and Global Usings in C#
  12. 35:40Working with Collection Expressions in C#
  13. 39:10Inheritance and Primary Constructors in Action
  14. 42:00Conclusion: Mastering New C# 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.