how to change a string into lowercase in C#
/* Take an Input */
string str = Console.ReadLine();
/* Convert to Lower and store it in a itself
That means update the str variable and store it in itself. */
str = str.ToLower();
/* Print it. */
Console.WriteLine(str);
/* Input:-
Hello World */
/* Output:-
hello world */