Update: I've added the entire program in a single block of C# text near the end of these posts that can be placed into a C# Program.cs file of a console project.
I have a class called MyHashtable that inherits from Hashtable and implements IXmlSerializable. MyHashtable is contained inside another object called MyObject and I need to xml serialize an array of MyObject. Whenever I xml deserialize, the
hashtable is deserialized, but only 1 of MyObjects from the MyObject array is deserialized. The ReadXml uses "while (reader.NodeType != XmlNodeType.EndElement)" so I don't think the reader is consuming all of the xml internally.
Does anyone know why this is happening? Thanks.
View Complete Post