I am wondering why I cant get such simple thing like this on google. This code is not compilable. How can I do this?
public class TestStep<StartEvent, CompletedEvent>
where StartEvent : MyBase1, MyInterface1, new() &&
where CompletedEvent : MyBase2, MyInterface2, new()
{
}
Please help.