title: structs in C# and constructors
body: <p>I have data that I would ideally want to represent as so:</p>
  
  <pre><code>LinkedList&lt;T&gt;[]
  </code></pre>
  
  <p>However, you cannot do that on generics, so I wrapped it in a struct:</p>
  
  <pre><code>    public struct SuitList                      
      {
          LinkedList&lt;T&gt; aList;
  
          public SuitList()
          {
              aList = new LinkedList&lt;T&gt;();
          }
      }
  </code></pre>
  
  <p>Now, in my class I have </p>
  
  <pre><code>   SuitList[] myStructList;      //there is only 4 indices of myStructList
  </code></pre>
  
  <p>How do I initialize aList, inside my constructor for the class? I tried this as follows:</p>
  
  <pre><code>myStructList = new SuitList[4];
  
  for(int i = 0; i &lt; 4; i++)
  {
      myStructList[i] = new SuitList();
  }
  </code></pre>
  
  <p>The compiler gave me an error saying Structs cannot contain explicit parameterless constructors. Are there better ways of doing this? 
  Thanks for the help in advance.</p>