Category "xml-deserialization"

XML deserialization not binding list of strings

I am trying to deserialize xml into c# classes. I followed some documentation and generated some c# classes using the commands xsd foo.xml & xsd foo.xsd /cl

how to deserialize xml arrayItems in enum if there are unrecognized elements

The goal is to deserialize xml-arrayitems into my specific enum. using System.Xml.Serialization; public enum Example { [XmlEnum(Name = "Ex1")] Ex1,