So you want an array of entities, each of which comprises an integer and a string?
One way to do it would be to have an integer array and a string array.
You do not say whether the string value is always the same number of characters, or whether the strings are of five characters each, e.g...