using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Xml.Serialization; namespace PartSource.Data.Nexpart { [XmlType(Namespace = "http://whisolutions.com/pss/common/helper/parts")] public class Question { [XmlAttribute(AttributeName = "Attrib")] public string Attribute { get; set; } [XmlAttribute] public int Count { get; set; } [XmlAttribute] public string Text { get; set; } [XmlElement] public Answer[] Answer { get; set; } } }