new to C#, trying to make an array from user input. please help

Sep 13 2010 9:41 PM
I'm new to C# and I'm trying to make an array out of user input.  I really don't care what type it is (double, int, etc.), or how long it is ([10], [20], etc).  How can I make an array that takes input from a textbox when a button is pressed and then stores it in [0], then stores the next user input from the textbox and stores it in [1], etc. until the array length is reached?  thanks very much in advance, I've been searching for days with no luck finding examples.

Answers (2)