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 -

javascript - How can I reference jquery library using cgi methods in ruby? -

ruby - Prevent Custom Validation Error on Association -