The ToLower() function converts a string to lowercase.
The following figure shows a visual representation of the ToLower() function.
string_name.ToLower()
string_nameis the name of the string which is to be converted to lowercase
The ToLower() function does not require a parameter.
The ToLower() function returns a string that is converted to lowercase.
class String{static void Main(){//stringSystem.Console.WriteLine("('EDUCATIVE').ToLower(): "+ ("EDUCATIVE").ToLower());//string with numberSystem.Console.WriteLine("('EDUCATIVE09').ToLower(): "+ ("EDUCATIVE09").ToLower());}}