Find out is a generic type implement an interface
===

In the method below is there a way to know if the type `T` implement a specific interface `IMyInterface2` 

    public IList<T> MyMethod<T>() where T : class, IMyInterface1
    {
    
       return myResult;
    }

Thanks,