I would like to prevent further processing on an object if it is null.
In the following code I check if the object is null by either:
if (!data.Equal
As of C# 9 you can do
if (obj is null) { ... }
For not null use
if (obj is not null) { ... }
If you need to override this behaviour use == and != accordingly.
==
!=