Load xml from xml file directly : Xml Read : XML C# Examples


C# Examples » XML » Xml Read »

 

Load xml from xml file directly









    
using  System;
using  System.Xml;

class  MainClass
{
    static  void  Main(string[]  args)
    {
        string  filename  =  @"C:\books.xml";          
        XmlDocument  xmlDoc  =  new  XmlDocument();        
        xmlDoc.LoadXml(filename);




                xmlDoc.Save(Console.Out);


    }        
  
}
    
   
  
   




HTML code for linking to this page:

Follow Navioo On Twitter

C# Examples

 Navioo XML
» Xml Read