I have some special chars declared that way.
private static readonly char[] Chars = "…".ToCharArray();
Also, I can check if that chars are present in given string like that way.
private static bool ContainsSpecialChars(string text)
{
return text.IndexOfAny(Chars) >= 0;
}
But I am stuck in counting how many occurencies are in the given string.
NOTE: I have array of chars