Null, and where it gets inbeginner
NullReferenceException is the most common crash in .NET; nullable annotations move the argument about what can be null from runtime to the compiler, before a user ever sees it.
Code that passes every test and throws in production. Make the compiler find it.
No path through this method can dereference null.
Published in full, before you start — every point is one of these and there is nothing else.
NullReferenceException is the most common crash in .NET; nullable annotations move the argument about what can be null from runtime to the compiler, before a user ever sees it.