Surya Pratap Singh
How to convert string lowercase , upper case and uppercase first letter. ?
By Surya Pratap Singh in C# Strings on Sep 19 2015
  • Surya Pratap Singh
    Sep, 2015 19

    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();}} }

    • 2
  • Munesh Sharma
    May, 2016 31

    • 1

Most Popular Job Functions