I can restrict generics to a specify type using the \"Where\" clause such as:
public void foo() where TTypeA : class, A
How d
public void foo<TTypeA, TTypeB>() where TTypeA : class, A where TTypeB : class, B
dang, 20s late. Vote for James Curran, he was first.
public void foo<TTypeA, TTypeB>() where TTypeA : class, A
where TTypeB : class, B
just replace &&
with another where
Something like this?
public void foo<TTypeA, TTypeB>() where TTypeA : class where TTypeB : class