title: Filling a C# struct array with multiple values at once
body: <p>I have a struct array which looks like this:</p>
  
  <pre><code>    public struct DATA
      {
          public int number;
          public int channel;
          public string filename;
          public string description;
      }
      DATA[] myData = new DATA[12];
  </code></pre>
  
  <p>I need to fill a lot of values in here, for example myData[0] = {0, 1, "myfile", "TBD"} etc. </p>
  
  <p>What is the easiest way (in terms of LOC) to fill these 12 structs with data? Would it be easier to use a class instead?</p>