我知道這個問題已經被問過,但我有奇怪的問題,我不知道該怎麼做: public static class XmlHelper
{
public static T Deserialize<T>(string xml)
{
using (var sr = new StringReader(xml))
{
var xs = new XmlSeri
我試圖將我從Web服務獲得的結果轉換爲字符串並將其轉換爲對象。 這是我從我的服務獲取字符串: <StatusDocumentItem><DataUrl/><LastUpdated>2013-01-31T15:28:13.2847259Z</LastUpdated><Message>The processing of this task has started</Message><State>1</