Add members into Array in runtime : How can I add other member (during declaration of class) into array/dictionary? Any workarounds? 


    public class X{
    
          private string[] texts = new string[]{};   // or lets say it's dictionary
          .....
          .....
          .....
          .....
          ..... //hundreds of lines here
          .....
          .....
          .....
          .....
          texts[1] = "hello";     // <--- I want to add it here, not in top. but fires error
    
          public X(){
    
          }
    }

