c# 首字母大写 方法

方法1:

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

方法2:

= System.Threading.Thread.CurrentThread.CurrentCulture.TextInfo.ToTitleCase(s)
原文地址:https://www.cnblogs.com/scottckt/p/2085176.html