I have a class which is used for Xml Serialization.
Inside which I have a nullable property which is decorated with XmlAttribute:
[XmlAttribute(\"la
You can use XmlElementAttribute.IsNullable:
[Serializable] public class Result { [XmlElement(IsNullable = true)] public DateTime? LastUpdated { get; set; } }