正規表現を使用して文字列内の中国語文字の個数を計算します.


System.Text.RegularExpressions.Regex reg = new System.Text.RegularExpressions.Regex("[\u4e00-\u9fa5]", System.Text.RegularExpressions.RegexOptions.Multiline);

string strTemp = "       2333afadsg   af575       ";

MessageBox.Show(reg.Matches(strTemp).Count.ToString());