c# - Infinitely adding to an array -


is there way of infinitely adding array? far know have initialize , declare array

int myarray = new array[10]; 

what if dont know how many items going go array , want give user option?

you should use list

list<int> mylist = new list<int>(); 

Comments

Popular posts from this blog

php - Autoloader issue not returning Class -

python - Getting next two indexes regardless of current index -

ruby - Prevent Custom Validation Error on Association -