I have Classes defines as
class A<T> where T:B
class B
class C:B
class D:B
now i have a List<A<B>>
and i want to add a object of A<C> and A<D> to it.
now as both C and D inherit from B i assumed that would work but "Cannot implicitly convert type 'A<C>' to 'A<B>'"
So i tried
and it wont have it "Cannot convert type 'A<C>' to 'A<B>'"
any suggestion on how to get this working?