Meta
Categories
Tag Archives: Deserialize
C# Example: Read/Write XML File
(Serializing/Deserializing) Read or DeSerializing XML File /// <summary> /// Reads XML config file. /// </summary> /// <typeparam name="T">Class to read into.</typeparam> /// <param name="xmlFile">XML file location.</param> /// <param name="type">Class type to read from.</param> /// <returns></returns> public static T ReadXMLFile<T>(string xmlFile, … Continue reading