Nullable Reference Types
Talk it through out loud with your AI coach.
The problem
- medium
- Pro
Your team is turning on nullable reference types in an older C# project and gets hundreds of warnings. Explain what the feature does, what it does and doesn't guarantee at run time, and how you'd roll it out without just silencing everything.
What a strong answer covers
- What the annotations express and what the compiler does with them.
- Where the guarantees stop and nulls can still sneak in.
- The temptation to silence warnings, and why it backfires.
- A realistic way to adopt it in a large existing codebase.
Common mistake: Believing a non-nullable property can never hold null at run time, so skipping validation of incoming data.
Knowing this is half of it. Saying it clearly out loud is the part the coach helps you practise.
Practise it out loud