How to rescue null in C#?

112 Views Asked by At

I wonder if there is a way to rescue null as we do rescue nil in Ruby?

I know rescue nil and tertiary aren't good practice, but I'm still a bit old school.

Thanks

0

There are 0 best solutions below