title: Difference between XmlElement and XmlElementAttribute in c# xml serialization
body: <p>What is difference between XmlElement and XmlElementAttribute in c# xml serialization. I am facing an issue while xml serialization of an object.</p>
  
  <p>Actually, I have 2 fields with the same name. 1 in Base class and other in child class and I need to set different element names for those to show in xml doc.</p>