. . . . "However, if type is a Type that somehow does not implement TInterface, you will get an InvalidCastException at run-time." .