예제 #1
0
        public static string ToPingYinFirst(this string str)
        {
            ConvertPingYin yin = new ConvertPingYin();

            return(yin.Convert(str, true));
        }
예제 #2
0
        public static string ToPingYin(this string str)
        {
            ConvertPingYin yin = new ConvertPingYin();

            return(yin.Convert(str, false));
        }