In .NET Framework 4.0 the System.Xml APIs are obsolete and are maintained for compatibility reasons only. Web developers can create XML file by using LINQ to XML. The next picture presents classes in LINQ to XML.
The classes in LINQ to XML
These classes are included in System.Xml.Linq namespace and the following ones are the most …