I'm doing a null check for this object.
if (Myobject.EndofLife.Status == true) {
//do some
}
When, 'EndofLife' property is null, we receive a 'Object reference' error.
So, modified to something like
if (Myobject.EndofLife != null && Myobject.EndofLife.Status == true)`
I can't seem to be using fancy operator here, like ?.
or null coalescing operator (??).
Are there any fancy operators here (instead of my null check above)