~/talk

Null & Void - Everything about Nothing in .NET

Talkat NDC London 2025 · 2025-01-27..01-31· [dotnet]
slides:none on file

Step-by-step, the session shows that C# nullable reference types are compile-time annotations (implemented as attributes with context codes 0/1/2), demonstrates reading them via reflection using NullabilityInfoContext, and inspects Roslyn/IL output to prove there’s no runtime type change. Demos cover System.Text.Json’s respectNullableAnnotations option, F# 9 interop, a source-analyzer+fixer workflow and PolySharp source-generator for older targets, the null-forgiving operator ! and the null object pattern, and recommends turning nullable warnings into errors in CI to enforce safety.

AI-written summary · about

  1. 0:00Introduction
  2. 3:34Understanding void
  3. 5:36Nullable reference types
  4. 11:31Value types vs reference types
  5. 15:01Ref keywords and nullability
  6. 18:42Design and contract patterns
  7. 21:08Compiler mechanics
  8. 24:41Defaults and arrays
  9. 28:45Handling null with operators
  10. 35:18Configuring nullable contexts
  11. 38:27JSON serialization and interop
  12. 42:58Suppression and generated code
  13. 47:21Generics and nullability
  14. 50:59Advanced attributes
  15. 53:43Reflection and analyzers
  16. 57:26Adoption strategies
  17. 1:00:45Null-avoidance patterns
~/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.