Solution 1
You can simply hold your characters in two strings:
var toTranslate = "àç[!é...";
var translateTo = @"@\°...";
and then translate as you find the characters:
int index = toTranslate.IndexOf(myChar);
if (index > -1)
{
myChar = translateTo[index];
}
Solution 2
Another, efficient but less readable way would be to store a Dictionary<char, char>
and to use it like so:
myDictionary['à'] = '@';
myDictionary['ç'] = '\\';
...
if (myDictionary.Keys.Contains(myChar))
{
myChar = myDictionary[myChar];
}