<< Back to the snippet list
Preparing XML using Linq.XDocument
Always we find need of generating XML data on fly. Using XML Linq it became very easy to prepare xml in runtime.
In the following snippet I have shown, how we can create the XML data in runtime using Linq document.
XDocument
Linq.XDocument