Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
XML into Object
walid mousbah
9y
431
1
Reply
I'm trying to deserialize my xml this way:
public static T MyMethod<T>(this string Myxml)
{
XmlDocument Mydocument = new XmlDocument();
using (XmlTextReader XmlTr = new XmlTextReader(new StringReader(Myxml)))
{
Mydocument.Load(XmlTr);
}
// How do I return the result ?
return ???
}
How do I return my result into MyObject which I created to represent the XML ?
Thanks
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
how can improve(fix) speech speed in speech recognition
How to add listbox selected item to textbox?