Convert To Upper Camel Case - CSharp System

CSharp examples for System:String Case

Description

Convert To Upper Camel Case

Demo Code


using System.Text.RegularExpressions;
using System.Collections;
using System;/*from   w w  w. j a v a  2 s .c o m*/

public class Main{
    public static string ConvertToUpperCamelCase(this string value)
      {
         return value.Substring(0, 1).ToUpperInvariant() + value.Substring(1);
      }
}

Related Tutorials