I have a class which is used for Xml Serialization.
Inside which I have a nullable property which is decorated with XmlAttribute:
[XmlAttribute(\"la
This is working for me.
[XmlIgnore] public float? Speed { get; set; } [XmlAttribute("Speed")] public float SpeedSerializable { get { return this.Speed.Value; } set { this.Speed = value; } } public bool ShouldSerializeSpeedSerializable() { return Speed.HasValue; }