title: How do I add elements to an an array in a c# XSD generated serialized class?
body: <p>I have been cursed with a project requiring the creation of an application in InfoPath that employs gigantic forms. In order to access the data from the InfoPath XML I've chosen to use the XSD utility to create a serialized c# class based on the InfoPath generated XML schema.</p>
  
  <p>Since the InfoPath form contains several tables, the tables are implemented in the serialized class as arrays of the row type. When the XML is read in (deserialized) array elements are obviously being allocated and populated.</p>
  
  <p>What I can't figure out is how to add additional array elements. For example, if the XML has two entries in the table, the array will have two elements allocated. But I'd like to be able to add additional elements to the array.</p>
  
  <p>I tried to use the Array.Resize method without much luck.</p>
  
  <p>This sound familiar to anyone?</p>
  
  <p>-Tom</p>