Hi,
There is a piece of code that I would implement like this in java:
public void doIt( T extends MyEventArgs<? extends MyBaseClass> obj ) {
...
}
How would I do that in c#? I first thought this would be it:
public void oIt( T obj ) where T : MyEventArgs<P> where P : MyBaseClass {
...
}
But apparantly my syntax is wrong.
any ideas?
PS: don't ask me why I'm doing this. Please :)