c#5

  1. A

    Serialize a property using System.ComponentModel.DefaultValueAttribute

    Hello, I try to serialize a n object to xml file.this object containt a property length [System.Xml.Serialization.XmlAttributeAttribute()] [System.ComponentModel.DefaultValueAttribute(1D)] public double Length { get { return...
Back
Top Bottom