Serialize/Deserialize different property names?
问题 I have an old system which in a request info call returns xml with names that look like: postalCodeField, firstNameField... That same system then has a modify call which takes xml that looks like: PostalCode, fistName, lastName.... Is there a way to build an object that would deserialize the request, yet serialize the xml output with different names? Specifically: public class RequestInfo { public string firstNameField{get;set;} public string lastNameField{get;set;} } public class ModifyInfo