方法1:

s.Substring(0,1).ToUpper()+s.Substring(1);

 

方法2:

= System.Threading.Thread.CurrentThread.CurrentCulture.TextInfo.ToTitleCase(s)

相关文章: