wuzzard·9 anni fa·discussC# 7.0 already has the 'is' pattern matching operator that returns true/false and can introduce a new variable that is not null.