For example I want to remove or change below property attributes or add a new one. Is it possible?
[XmlElement(\"bill_info\")] [XmlIgnore] public BillInfo Bi
It is not possible to add/remove attributes from a class at runtime.
It is possible however to update the way XML serialization works at runtime without needing to edit attributes. See Marc's post.
EDIT Updated