Having the shopping cart collection inside of the product seems to be a case of the cart before the horse...no pun intended. If you have two products, do they each contain their own shiopping cart collection?
I do not believe you would want the item interface to contain the shopping cart interface.
Products are products - not collections
The shopping cart is a collection of Products.
In .Net 2.0, you could express that collection with Generics.
In .Net 1.1, you could create a ShoppingCart class that inherits from CollectionBase.
Then you add type specific access methods so the cart only accepts Products.
Mike Banavige
~~~~~~~~~~~~
Need a site code sample in a different language? Try converting it with:
http://converter.telerik.com/