Interface implementing generic parameters
Hello, is there way to achieve something like this?
I want to specify that
IFoo<T>
should also implement T
2 Replies
afaik thats not possible, the best u can do is at the implementin type specify itself, but thats it
especially because interfaces can only extend other interfaces, and u cant constrain
T
to be an interface (interface as in the general thingy not a specifc interface)Thank you, but that's not what I need unfortunately. I will ask other question in other topic