So, I think in the current C# version which is C# 8. There are a few ways to check the reference types are not null
. I am confused by these two below:
o is object
o is {}
What's the main difference between them, I cannot find much info for them.
Can someone explain it to me? Which one is recommended? Or what are the pro and cons of each one?