convert char to lower c# code example
Example: c# string to lowercase
string author = "Mahesh Chand";
string bio = "Mahesh Chand is a founder of C# Corner.";
// Covert everything to uppercase
string ucaseAuthor = author.ToUpper();
Console.WriteLine($"Uppercase: {ucaseAuthor}");
// Covert everything to lowercase
string lcaseAuthor = author.ToLower();
Console.WriteLine($"Lowercase: {lcaseAuthor}");
// We can direct convert to uppercase or lowercase
Console.WriteLine(bio.ToLower());
Console.WriteLine(bio.ToUpper());