using System;
using System.Collections.Generic;
using System.Linq;
static class TestString {
static void Main() {
var count =
"abc 8"
.Where(c => !Char.IsLetter(c))
.Count();
Console.WriteLine(count);
}
}
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok