You can put them in Dictionary<string,int> and return int for the string key.
var wordsToNumbers = new Dictionary<string,int>(); wordsToNumbers.Add("one", 1); ... wordsToNumbers.Add("ninety", 90);
Note:
As others noted in the comments, the idea is to create a dictionary once and reuse it. One way is to use the field and fill it in the constructor, and then use it in other methods.
Odded source share