public static int Count(this string s, char value) { return s.Cast<Char>().Count(c => c == value); } }