예제 #1
0
 /// <summary>
 /// 一个字符器转为名称
 /// </summary>
 /// <param name="word">单词</param>
 /// <param name="toFirstUpper">是否首字母大写</param>
 /// <returns>字符器</returns>
 public static string ToName(this string word, bool toFirstUpper = true)
 {
     return(StringHelper.ToName(word, toFirstUpper));
 }