If your data are predefined, you should use
enum
like in the code bellow, otherwise I see no solution posible:
public enum NumericStrings : int
{
ZERO = 0,
ONE = 1,
TWO = 2,
ELEVEN = 11,
...
}
string myVar = "ELEVEN"
NumericStrings temp = (NumericStrings) Enum.Parse(typeof(NumericStrings), myVar);
int myInt = (int)temp;