title: Generic List created at runtime
body: <p>i neeed something like this in C#.. have list in class but decide what will be in list during runtime</p>
  
  <pre><code>class A
  {
      List&lt;?&gt; data;
      Type typeOfDataInList;
  }
  
  public void FillData&lt;DataTyp&gt;(DataTyp[] data) where DataTyp : struct
  {
      A a = new A();
      A.vListuBudouDataTypu = typeof(DataTyp);
      A.data = new List&lt;A.typeOfDataInList&gt;();
      A.AddRange(data); 
  }
  </code></pre>
  
  <p>Is this possible to do something like this ?</p>