I will start by explaining my scenario in code:
public class A { } public class B : A { } public class C : B { } public class D { } public c
Edit: this answers the question in the thread title. cdm9002 has the better answer to the problem as described in the full post.
typeof(B).IsAssignableFrom(c.GetType())