That's what's new in c#14, it allows you to do
customer?.Profile?.Avatar = "thing"
And will do nothing if the left hand side is null (not throw a null reference exception anymore)That's what's new in c#14, it allows you to do
customer?.Profile?.Avatar = "thing"
And will do nothing if the left hand side is null (not throw a null reference exception anymore)