I am currently working in a Statistics Calculator which should display mean, standard deviation, median and mode. I have the graphical interface
Sin_título
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?

Recommended Answers

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.

Jump to Post

All 2 Replies

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.

ohh thanks really :) i need to deliver this before date and i am in such a rush, thnaks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.