user image

Preeti Tripathi

Job Interview Skills
English
2 years ago

Question 101. Can I Customise The Serialization Process?

user image

Abhishek Mishra

2 years ago

Yes. XmlSerializer supports a range of attributes that can be used to configure serialization for a particular class. For example, a field or property can be marked with the [XmlIgnore] attribute to exclude it from serialization. Another example is the [XmlElement] attribute, which can be used to specify the XML element name to be used for a particular property or field.

Recent Doubts

Close [x]