I am just tring to enumerate my collection class that inherits from DictionaryBase, and i just cant seem to get it working right

I have a products class containing objects of type product

when I do

for each Prod in Prods

next

where the default property in Prods is Item which returns an object of type Prod

it says there is an invalid cast...

any ideas how I can get this to work?