I am wondering whether I can customize the xml output like what ToString does.
e.g, use % to output 80% rather than 0.8
I also need to deserialize it later…
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Don’t serialize the property with the number directly. Instead, create a dummy string property that formats and parses the number:
It produces the following output: