UppercaseFirst() private static méthode

private static UppercaseFirst ( string target ) : string
target string
Résultat string
 private static string PrettyTemplateKeyName(string name)
 {
     string[] strArray = name.Split('_');
     strArray[0] = WebTemplateManagerBase.UppercaseFirst(strArray[0].ToLower());
     for (int index = 1; index < strArray.Length; ++index)
     {
         strArray[index] = strArray[index].ToLower();
     }
     return(string.Join(" ", strArray));
 }
 private static string PrettyTemplateKeyName(string name)
 {
     string[] array = name.Split(new char[]
     {
         '_'
     });
     array[0] = WebTemplateManagerBase.UppercaseFirst(array[0].ToLower());
     for (int i = 1; i < array.Length; i++)
     {
         array[i] = array[i].ToLower();
     }
     return(string.Join(" ", array));
 }