I'm struggling to determine which type of array I should use.
Array, SortedArray, ArrayList, IList. They all have pros and cons but none of them seem to be perfect for what I need.
I have an array of strings and I need to be able to sort it alphabetically, remove any duplicates or strings that are numerical only, and search it.
I can determine if a string only has numbers in it so that is not an issue.
I just need advice on which type of array to use and how best to sort it, search it and remove unwanted elements.
Thanks
Array, SortedArray, ArrayList, IList. They all have pros and cons but none of them seem to be perfect for what I need.
I have an array of strings and I need to be able to sort it alphabetically, remove any duplicates or strings that are numerical only, and search it.
I can determine if a string only has numbers in it so that is not an issue.
I just need advice on which type of array to use and how best to sort it, search it and remove unwanted elements.
Thanks