Suppose I have a list of objects
List DogList = new List();
and I want to automatically add objects to it, li
Im not sure what are your intentions, but maybe you want to that in a loop:
for(int i = 0; i < 10; i++) { dogList.Add(new DogClass()); }