Check out example codes for "c# string to lowercase". It will help you in understanding the concepts better.

Code Example 1

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

Learn ReactJs, React Native from akashmittal.com