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 -

php - Autoloader issue not returning Class -

java - How to read a file created at runtime? -