I was curios if anyone knows how i could use StreamReader.ReadLine on a Text file and save each instance to an "dimensioned array" even to display it to the screen....
in a nut shell i would like to say read a file like:
("example.txt")
the array portion of this would be on the c# side of the file. the names or the right side of the = is the text file fields so to say.
array1 =Texas
array2 =Florida
array3 =Southeast
then, i would like to add those arrays to another variable like:
OneArray<0>=array1
OneArray<1>=array2
OneArray<2>=array3
this should be easy enough but, im just starting out coding here. i have looked on msdn for collections, arraylist, and a few other commands but, nothing seems to be able to handle this....
eventually i would like to use this data in a combobox for end users to choose from. if this is possible then great! if not well then thanks for looking at it anyways. i have not found any code that would let me create this type of structure. I usually code in "pick" haha but, im sure if such a simple text based language can do it that c++ or c# should have some mannerism for this case.