SyntaxFix
Write A Post
Hire A Developer
Questions
You should try using Type.IsAssignableFrom instead.