private static bool CharIsAllowed(char c) { return (Char.IsLetterOrDigit(c) || AllowedSymbolsInName.Contains(c)); }