public class Sample
{
public static void Main()
{
//Create the XmlDocument.
XmlDocument doc = new XmlDocument();
string caminho = "C://Users//SOFTCON//Desktop//ler_uma_tag_xml//WindowsFormsApp1//Assinatura.xml";
doc.Load(caminho);
//Display all the book tlitles.
XmlNodeList elemList = doc.GetElementsByTagName("Nfe ");
for (int i = 0; i < elemList.Count; i++)
{
Console.WriteLine(elemList[i].InnerXml);
}
}
tenho o seguinte codigo para ler minha nfe, porém gostaria de ver uma saída do meu Nfe, alguém tem ideia de como faz isso ?