Lowercase a String in C#

In this article we will discuss about how to convert a uppercase string in lowercase in C#.
  • 3358

The ToLower method of a string converts a string to lowercase . The following code shows how to create an lowercase string.
 

string sentence = "Mahesh Chand is an author and founder of C# Corner";
Console
.WriteLine("Original String: {0}", sentence);
Console.WriteLine("Uppercase: {0}", sentence.ToUpper());
Console.WriteLine("Lowercase: {0}", sentence.ToLower());

 
Further Readings
 
You may also want to read these related articles.

Ask Your Question 

Got a programming related question? You may want to post your question here
 

Categories

More Articles

© 2018 DotNetHeaven. All rights reserved.