title: c# about struct
body: <p>I have a class that contains variables and lists. Ex: </p>
  
  <pre><code>public class x:Form        
  {
      private a=null;
      private list&lt;xy&gt; o=null;
      otherclass cl=null;
  
      public x()
      {
          ..code
      }
      ...
  }
  </code></pre>
  
  <p>If I want to have this multiple times. I have 2 different form application that access this members. I would like to have somethinng like this: <code>something[0].x; something[1].x.</code> What should I do? Should i create a structure? Thx for help!. I would appreciate if you can give me examples using code.</p>