title: How to deserialize a numbered array of XML elements
body: <p>I need to deserialize the following XML:</p>
  
  <pre><code>&lt;TIMEWINDOWS&gt;
      &lt;NUMBER&gt;10&lt;/NUMBER&gt;
      &lt;NO0&gt;
          &lt;FROM&gt;22-11-2013 08:00:00&lt;/FROM&gt;
          &lt;TO&gt;22-11-2013 11:59:00&lt;/TO&gt;
      &lt;/NO0&gt;
      &lt;NO1&gt;
          &lt;FROM&gt;22-11-2013 12:00:00&lt;/FROM&gt;
          &lt;TO&gt;22-11-2013 15:59:00&lt;/TO&gt;
      &lt;/NO1&gt;
      &lt;NO2&gt;
          &lt;FROM&gt;23-11-2013 08:00:00&lt;/FROM&gt;
          &lt;TO&gt;23-11-2013 11:59:00&lt;/TO&gt;
      &lt;/NO2&gt;
      &lt;NO3&gt;
          &lt;FROM&gt;23-11-2013 12:00:00&lt;/FROM&gt;
          &lt;TO&gt;23-11-2013 15:59:00&lt;/TO&gt;
      &lt;/NO3&gt;
      ...
  &lt;/TIMEWINDOWS&gt;
  </code></pre>
  
  <p>The output that I require is a collection (list, array, whatever) of <code>TimeWindow</code> objects, for example:</p>
  
  <pre><code>public class TimeWindow
  {
      public string From { get; set; }
      public string To { get; set; }
  }
  </code></pre>
  
  <p>Is there a standard way to handle the <code>NO0</code>, <code>NO1</code>, <code>NO2</code>, ... elements?
  I can always build my own parser, but I would much prefer to use a standard approach, such as <code>System.Xml.Serialization.XmlSerializer</code>.</p>