✅ Calling a nullable Action or Func
In my class I have the following:
Is there a way of calling it if it isn't null in a single line? Something like (and this doesn't work):
Similarly with a Func, can I do something like:
Is there a way of calling it if it isn't null in a single line? Something like (and this doesn't work):
Similarly with a Func, can I do something like: