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

jsf - "PropertyNotWritableException: Illegal Syntax for Set Operation" error when setting value in bean -

arrays - Algorithm to find ideal starting spot in a circle -

php - Autoloader issue not returning Class -