In a code review that I have made today to one of my team mates, I have seen him checking properties for null with the is
keyword, like:
if(myVariable is null)
{
//do something
}
I was tempted to disagree of this type of checking, but I don't feel so confident on my knowledge about it. Is it really okay to check for null like this?