jeudi 5 août 2021

How to get interfaces declared inside a class using reflection? [duplicate]

I know how to get implemented interfaces type.GetInterfaces(), but how can i get interfaces declared inside class?

class MyClass
{
    
    public interface IClass 
    {
    
    }
}




Aucun commentaire:

Enregistrer un commentaire