C
Craig Buchanan
I have a class called LineItems. It implements IEnumerable. It uses an
ArrayList to hold objects. When I try to serialize the object that contains
LineItems (an object called Order), I get an error that reads:
You must implement the Add(System.Object) method on LineItems because it
inherits from IEnumerable.
I've implemented GetEnumerator on the LineItems class. I also have two Add
methods.
What am I missing?
Thanks,
Craig Buchanan
ArrayList to hold objects. When I try to serialize the object that contains
LineItems (an object called Order), I get an error that reads:
You must implement the Add(System.Object) method on LineItems because it
inherits from IEnumerable.
I've implemented GetEnumerator on the LineItems class. I also have two Add
methods.
What am I missing?
Thanks,
Craig Buchanan