I have an object structure I have deserialized from XML – but I’m wanting to use it with LINQ. Is there any way I can add this capability to a normal object structure without the hassle of XPath stuff?
Share
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.
If it’s already deserialized, you can just use linq to objects. Otherwise you can use linq to xml, which is slightly more friendly than XPath.