How to avoid printing “null” when accessing a nullable property while using lambda within a lambda?
I have a Person class with a nullable hobby property. When I try to print the person’s profile using a string template, it prints “null
” if the hobby is null.