Suppose I have a list of objects
List DogList = new List();
and I want to automatically add objects to it, li
just use a loop
for(int i = 0; i<10; i++) { Doglist.add(new dogClass("puppy" + i.ToString())); }