如何通过参数传递我的变量Iterator
?
protected void LeXMLNode(FileUpload fupArquivo)
{
XmlDocument doc = new XmlDocument();
doc.Load(fupArquivo.FileContent);
XmlNodeList ndo = doc.SelectNodes("*");
var it = ndo.GetEnumerator();
using (it as IDisposable)
while (it.MoveNext())
{
//// Pass the variable it as parameter
}
}