Пример #1
0
 public static int CountDistinctLetters(string str)
 {
     return(str.Where(x => Letters.IsMatch(x.ToString())).Distinct().Count());
 }