When I try to add an object to a listbox items collection that already contains an identical object I get an OutOfMemory exception O_o.
Changing one of the objects members so they are now not identical fixes the problem. Of course this isn't a major issue as it can be gotten around but it just seems strange to me that such an error occurred. Each object has their own memory allocation, from the lists point of view it indexes each separately so should be able to distinguish between the two.
Any ideas??
Changing one of the objects members so they are now not identical fixes the problem. Of course this isn't a major issue as it can be gotten around but it just seems strange to me that such an error occurred. Each object has their own memory allocation, from the lists point of view it indexes each separately so should be able to distinguish between the two.
Any ideas??