You use the is operator to check whether an object (or expression) is of a particular type. It checks the dynamic type of an object at runtime to see if the object or expression is assignment compatible with the specified type.

The is operator will return true if the type matches exactly, if an implicit conversion exists, or if an explicit conversion (a cast) would succeed.