I found a problem with the XML Serialization of C#. The output of the serializer is inconsistent between normal Win32 and WinCE (but surprisingly WinCE has the IMO correcter
Try [XmlArrayItem("c2")]
[XmlRoot("c1")] public class Class1 { [XmlArray("items")] [XmlArrayItem("c2")] public Class2[] Items; }
or [XmlType("c2")]
[XmlType("c2")] public class Class2 { [XmlAttribute("name")] public string Name; }