Thursday 19 May 2011

C# Create Xml File Programmatically

Here is a simple example of creating an XML file programmatically in C#:

2 comments:

  1. Check this link too it also explain very well about creating xml file using c# code...
    http://mindstick.com/Blog/77/Creating%20XML%20File%20in%20C

    ReplyDelete
  2. Hi Pravesh, thanks for the link, although XDocument and Linq tends to be the preferred way of dealing with Xml nowadays, thanks to a cleaner object model.

    ReplyDelete