Jon Skeet
7/15/2008 8:52:00 AM
On Jul 15, 9:40 am, "Pieter" <pieterNOSPAMcou...@hotmail.com> wrote:
> A little bit linked to my other question: I thought it was possible to have
> generic list which accept multiple types of objects. So a statement as ""Dim
> MyList as List(Of clsClass1, clsClass2)" would accept instances of both
> clsClass1 and clsClass2.
>
> But, it doesn't work :-) Am I simply wrong, or did I do something wrong?
No, it doesn't work. What would the effective type of the indexer be,
or the iterator?
Jon