I am currently working in a Statistics Calculator which should display mean, standard deviation, median and mode. I have the graphical interface
This one has a text box where you get to write the list and by clicking the button it stores the fist value and goes to the next and that goes on until you finish and click on an other button to operate the list of values. My question is the following,

How can I change the size of the arrrage according to the list they are inputting to the array?


Use a List<T> rather than an array. It will dynamically change its size as needed, and you can treat it as (and convert it to) an array.

This article has been dead for over six months. Start a new discussion instead.