汉字拼音字母,获得汉字拼音的首字母

public string GetPYChar(string c) { byte[] array = new byte[2]; array = System.Text.Encoding.Default.GetBytes(c); int i = (short)(array[0] - '\0') * 256 + ((short)(array[1] - '\0')); if (i 一个小方法 ... [阅读全文]
1 共1条 分1页