What is the most efficient way to create a constant (never changes at runtime) mapping of strings to ints?
string
int
I\'ve tried us
enum Constants { Abc = 1, Def = 2, Ghi = 3 } ... int i = (int)Enum.Parse(typeof(Constants), "Def");