This is wonderful!
I answered your last question
Extracting data from an array.............................................................................[
^].
I advised not to use
ArrayList
(but to use generic
List
) and your arrays of the size of two, because your intended type was semantically sound, so you should have used a structure with two fields, properly named. You accepted my answer! Now, you repeat exact same "data design" only instead of
double[2]
you now use
string[2]
. Let me inform you, that your approach makes no sense, and the change in type means answer.
Your Question is different, and you got correct Answer, but no Answer will really help you if you keep repeating your old mistakes again and again. I don't know what to say… Well, read some manual not just to the point where arrays are explained, but overview structures, classes, generics, members, methods, loops, calls, look at good code samples—
Good luck,
—SA