2
Reply

How to convert string lowercase , upper case and uppercase first letter. ?

Surya Pratap Singh

Surya Pratap Singh

Sep 19, 2015
484
0

    It's easy to convert string all this case this code copy here and paste your visual studio using System; using System.Globalization; using System.Threading; namespace ConsoleApplication10 {class Program{static void Main(string[] args){string str = "surya pratap singh";CultureInfo culture = Thread.CurrentThread.CurrentCulture;TextInfo text = culture.TextInfo;Console.WriteLine(text.ToTitleCase(str));Console.WriteLine(text.ToUpper(str));Console.WriteLine(text.ToLower(str));Console.ReadLine();}} }

    Surya Pratap Singh
    September 19, 2015
    2

    http://www.dotnetperls.com/uppercase-first-letter

    Munesh Sharma
    May 31, 2016
    1