CSharp examples for System.Xml:XML Serialization
Deserialize XML String
using System.IO;//w w w .j a v a 2 s . co m using System.Xml.Serialization; using System.Collections.Generic; using System; public class Main{ public static T DeserializeString<T>(string value) { XmlSerializer<T> serializer = new XmlSerializer<T>(); return serializer.DeserializeString(value); } }