static void Main(string[] args) { // Create our interactive database of number words. var words_list = new NumberWords(); // Our letter count. int letter_count = 0; for (var i = 1; i < 1001; ++i) { letter_count += CountLetters(words_list.GetWord(i)); } ; System.Console.WriteLine(letter_count); System.Console.ReadLine(); }
static void Main(string[] args) { // Create our interactive database of number words. var words_list = new NumberWords(); // Our letter count. int letter_count = 0; for (var i = 1; i < 1001; ++i) { letter_count += CountLetters(words_list.GetWord(i)); }; System.Console.WriteLine(letter_count); System.Console.ReadLine(); }