~/talk

Guide to the C# Programming Language - Puzzling C#

Talkat ACCU 2025 · 2025-04-01..04-04· [c-sharp]
links:none on file
slides:none on file

Shows concrete gotchas: a = b + c parses so the parentheses bind to the right-hand expression producing 240 not a mistaken grouping; object initializers and property initializers run for the most derived type before base constructors so virtual calls from base constructors observe derived values unless a setter is absent and the base writes its backing field; async void vs Task can drop exceptions and crash console apps, so prefer returning Task; user defined conversions let the compiler insert standard numeric conversions* (decimal→char) and silently chain operators.

AI-written summary · about

  1. 0:00Talk overview
  2. 1:53Why puzzling C# matters
  3. 2:39Arithmetic and precedence
  4. 9:31Initialization and inheritance
  5. 17:51Async pitfalls and void dangers
  6. 28:50Object initialization and required
  7. 35:47Type safety and conversions
  8. 44:32Conclusion and Q&A
~/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.