Given a Chinese character, how to determine the character in the C #?

xiaoxiao2021-03-05  24

String s = "中";

Foreach (Char C In s)

{

IF (c> = 0x4e00 && c <= 0x9fa5)

Messagebox.show ("is Chinese");

}

转载请注明原文地址:https://www.9cbs.com/read-36387.html

New Post(0)