I have two xml's one is source and other one is destination. I want to update all the properties after deserialization of xml files from destination to source only If node with property name do exists. If node is not present than instead of default value I want the value to be get updated from source.
Below is my code of deserialization
XmlSerializer deserializer = new XmlSerializer(typeof(MyClass));
using (TextReader reader = new StreamReader(filename))
object obj = deserializer.Deserialize(reader);
deserializer = null;