I\'m not sure which one is better. I need to parse each character of an input string and get a replacing string for the character. For some objects all alphanumeric characte
I'd use the HashTable, because the code is more readable and maintainable: you could one day decide to load the subtitution strings from an XML file, so that you won't change the code to change the mappings.