In my previous post Create xml file in C# .net we have seen the method of creating xml file using C# with
XDocument
class which is in System.Xml.Linq
namespace. There are many ways of creating XML file in C#. One of the method is using XmlSerializer
which is in System.Xml.Serialization
namespace. Serialization is the process of converting object types to basic types and Deserialization is vice-versa. XmlSerialization allows us to create xml file from