The following are examples of various features.
- Modernizing a codebase for C# 9
- Top-level programs
- Various patterns of patterns
- Should rich go to the doctor
- Various patterns of records
- Records vs Classes (with init)
- Records using 'with'
- Record with static helper
- Records with mutable data
- Records and nullability
JsonSerializer
support for recordsJsonSerializer
support for preserving (circular) referencesJsonSerializer
support for immutable typesJsonSerializer
support for fieldsSystem.Text.Json
now supports Dictionaries with non-string keys- Get Weather Forecast -- with records
- dotnet-runtimeinfo tool
- Testing nullability with arrays