I\'m looking at this piece of code written by someone else, and I\'m wondering when it would evaluate to true. Basically, it is saying someType is an instance of someOtherT
IsInstanceOfType() checks whether the instance that you pass it is an instance of the type you called it on.
IsInstanceOfType()
You're passing a System.Type instance to IsInstanceOfType(). That will only be true if you call it on typeof(Type) or one of its base classes.
System.Type
typeof(Type)