📅  最后修改于: 2022-03-11 14:48:41.347000             🧑  作者: Mango
public static int countLetters(string word, string countableLetter)
{
int count = 0;
foreach (char c in word)
{
count++;
}
return count;
}