How to get interface basetype via reflection?

Posted by Kevin Driedger on Stack Overflow See other posts from Stack Overflow or by Kevin Driedger
Published on 2009-02-11T20:11:29Z Indexed on 2010/05/11 13:04 UTC
Read the original article Hit count: 303

Filed under:
|
|
public interface IBar {} 
public interface IFoo : IBar {}

typeof(IFoo).BaseType == null

How can I get IBar?

© Stack Overflow or respective owner

Related posts about c#

Related posts about reflection