I am writing a program to download some data off a piece of hardware. My thinking was have an array fill it. The data is in the form of strings rather than ints (which have done this with in the past) my question is strings are bigger than ints so will this cause issues with overflow and what is the correct way of handling groups of strings??
First of all, why an array? Why not a List of strings?
Second, are the strings unique or are they just a well defined list that you could get some combination of? If it's a well known list, just assign an enumeration to the strings and return a list of those enumerations.
Alternatively, you could write a slightly more complex algorithm and use a Dictionary to keep the string, and a list of indexes where that string occur - and then decode this at the client end.
*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington