veronica86
Member
hello,
I am designing an ASP.NET web application and have 1 class (PurchaseOrder) that contains another class (Item) as an attribute. (Using aggregation)
The Item class has 2 attributes (name & quantity). I am trying to find the best data structure to hold many instances of Item within the PurchaseOrder.
Each item has 2 attributes. I was thinking an ArrayList. Would I need a 2 dimensional ArrayList, if that exists?
thanks for any advice!!
I am designing an ASP.NET web application and have 1 class (PurchaseOrder) that contains another class (Item) as an attribute. (Using aggregation)
The Item class has 2 attributes (name & quantity). I am trying to find the best data structure to hold many instances of Item within the PurchaseOrder.
Each item has 2 attributes. I was thinking an ArrayList. Would I need a 2 dimensional ArrayList, if that exists?
thanks for any advice!!