2024-12-13C# xml, serialize List<T> to xml file and deserialize from xml file to List<T>usingSystem.Diagnostics;usingSystem.Xml;usingSystem.Xml.Serialization;namespaceConsoleApp9{internalclassProgram{staticstringxmlFile="testserializetoxml.xml";staticvoidMain(string[]args){