I can restrict generics to a specify type using the "Where" clause such as:
public void foo<TTypeA>() where TTypeA : class, A
How do I do this if my function has two generic types?
public void foo<TTypeA, TTypeB>() where TTypeA : class, A && TTypeB : class, B
The above doesn't work. What's the correct syntax to add the rule "TTypeB : class, B"