0
XmlReader reader = null;
XmlSerializer serailizer = new XmlSerializer(typeof(List<TObject>));
BufferedStream stream = new BufferedStream(new MemoryStream());
serailizer.Serialize(stream, items);
reader = XmlReader.Create(stream);
reader.ReadStartElement(_words);
我想從一個對象的序列化流XmlReader。但它會拋出一個異常「根元素缺失。」任何想法我會如何解決它?XML閱讀器和序列化