c#如何判断字符串是否含中文

如代码:

    static bool ContainChinese(string input)
    {
        string pattern = "[u4e00-u9fbb]";
        return Regex.IsMatch(input, pattern);
    }
原文地址:https://www.cnblogs.com/jietian331/p/7245165.html