you have to use a method which returns the word for each number. For an example refer the following code. public string getWordForNumber(int number) { string word = null; switch (number) { case 1 : word = "One"; break; case 2: word = "Two"; break; .. .. .. default: break; } return word; } For 30/31 days of month, you dont need 30/31 case on your switch. use another method which returns 10 to the power 1 numbers, For an example, for 21 --> for number 2 it should return Twenty, using the above method you can get next number, for number 1 - One, All together --> Twenty One