public <T extends java.util.EventListener> T[] getListeners(final Class<T> listenerClass) {
...
}
What is the equivalent c# generics notation of the above java generics?
Parameter listenerClass will be a type & not a object. But the object T has to belong to a specific hierachy.
1 Answer