C# : the close method of Xml.Load(file)

后端 未结 3 455
无人共我
无人共我 2021-01-12 10:40

I have written some code that loads an XML document using an XmlDocument object so as to count it\'s nodes. Here is the method:

XmlDocument xml         


        
3条回答
  •  悲哀的现实
    2021-01-12 11:31

    If you do not have to Manipulate the XML, just read the XML using XMLReader, that is oneway and the fastest, with less memory intense operation.

提交回复
热议问题