//public static string ToTitleCase(this string source) //{ // return Thread.CurrentThread.CurrentCulture.TextInfo.ToTitleCase(source); //} //public static string ToTitileLower(this string source) { // if (source.IsNullOrEmpty()) { // return source; // } // var firstWord = source.Substring(0, 1).ToLower(); // var result = firstWord + source.Substring(1, source.Length - 1); // return result; //} public static string ToPinYin(this string source) { return(StringUtility.CharacterConvertString(source)); }