CS8602

The C# compiler warning 'dereference of a possibly null reference', raised when code uses a value that might be null without checking it.

In more detail

It is a warning, so the program still builds unless warnings are errors. Fix it with a null check or pattern rather than silencing it with the null-forgiving operator.

Related terms

Taught in

References