title: serialize & deserialize with property as list<string> xml file using C#
body: <p>How to serialize &amp; deserialize below xml file using C#. 
  I have created serializable class for this xml.</p>
  
  <p>below some code to deserialize this xml, the list is able to get only single value.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;Configuration&gt;
  &lt;CSVFile&gt;
  &lt;string&gt;ff&lt;/string&gt;
  &lt;string&gt;gg&lt;/string&gt;
  &lt;string&gt;jj&lt;/string&gt;
  &lt;/CSVFile&gt; 
  &lt;/Configuration&gt;
  
  
  [Serializable, XmlRoot("Configuration"), XmlType("Configuration")]
  public class Configuration
  {
      public Configuration()
      {
          CSVFile = new List&lt;string&gt;();
      }
  
      [XmlElement("CSVFile")]
      public List&lt;string&gt; CSVFile { get; set; }
  }
  
  public class Mytutorial
  {
      string configFilePath = "above xml file path"
  
      XmlSerializer serializer = new XmlSerializer(typeof(Configuration));
      FileStream xmlFile = new FileStream(configFilePath, FileMode.Open);
      Configuration con = (Configuration)serializer.Deserialize(xmlFile);
   }
  </code></pre>