title: Get rid of <ArrayOfClassname> root element when serializing array
body: <p>Here's a code example:</p>
  
  <pre><code>public class Person
  {
      public string FirstName { get; set; }
      public string LastName { get; set; }
  }
  </code></pre>
  
  <p>...</p>
  
  <pre><code>static void Main() 
  {
      Person[] persons = new Person[] 
      {
          new Person{ FirstName = "John", LastName = "Smith"},
          new Person{ FirstName = "Mark", LastName = "Jones"},
          new Person{ FirstName= "Alex", LastName="Hackman"}
      };
  
      XmlSerializer xs = new XmlSerializer(typeof(Person[]), "");
  
      using (FileStream stream = File.Create("persons-" + Guid.NewGuid().ToString().Substring(0, 4) + ".xml")) 
      {
          xs.Serialize(stream, persons);
      }
  }
  </code></pre>
  
  <p>Here's the output:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;ArrayOfPerson xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
    &lt;Person&gt;
      &lt;FirstName&gt;John&lt;/FirstName&gt;
      &lt;LastName&gt;Smith&lt;/LastName&gt;
    &lt;/Person&gt;
    &lt;Person&gt;
      &lt;FirstName&gt;Mark&lt;/FirstName&gt;
      &lt;LastName&gt;Jones&lt;/LastName&gt;
    &lt;/Person&gt;
    &lt;Person&gt;
      &lt;FirstName&gt;Alex&lt;/FirstName&gt;
      &lt;LastName&gt;Hackman&lt;/LastName&gt;
    &lt;/Person&gt;
  &lt;/ArrayOfPerson&gt;
  </code></pre>
  
  <p>Here's a question. How to get rid of  root element and render persons just like this:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;Person&gt;
    &lt;FirstName&gt;John&lt;/FirstName&gt;
    &lt;LastName&gt;Smith&lt;/LastName&gt;
  &lt;/Person&gt;
  &lt;Person&gt;
    &lt;FirstName&gt;Mark&lt;/FirstName&gt;
    &lt;LastName&gt;Jones&lt;/LastName&gt;
  &lt;/Person&gt;
  &lt;Person&gt;
    &lt;FirstName&gt;Alex&lt;/FirstName&gt;
    &lt;LastName&gt;Hackman&lt;/LastName&gt;
  &lt;/Person&gt;
  </code></pre>
  
  <p>Thanks!</p>