I want to covert to string into object with value. I mean let's say i have string that has XML code inside like:
Code Snippet:
String response =@"<?xml version=""1.0"" encoding=""utf-8""?>\r\n
<Request>\r\n
<TransactionType>ADMIN</TransactionType>\r\n
<Username>abc</Username>\r\n
<Password>def</Password>\r\n
</Request>";
I have a Class that has all the properties which mentioned in Xml like
Class ResponseClass
String UserName;
String Password;
String Transaction;
How can I set all the values in ResponseClass object without string parsing? I have tried it with serialization but it gives me some problem in windows 8.1 app store project due to limitation in API.
Is there any way to get it sorted?
Thanks