I'm using ASCII 1251 table for russian letters. So I need a C# function to convert char to 1251 decimal code and vise versa.
For example russian 'а' is 224, 219 is 'Ы'.
Are the any way not to use dictionary with hard-coded values for all the letters?