Given a string in any case (lower, upper, proper or mixed case) and we have to convert into Lowercase.
For Example:
1) Input String: "This is india" then it will convert into : "this is india".
2) Input String: "This Is India" then it will convert into : "this is india".
3) Input String: "this is india" then it will convert into : "this is india".
4) Input String: "tHIS iS iNDIA" then it will convert into : "this is india".
String.ToLower()
String.ToLower() Method returns lowercase converted string.
Syntax:
String String.ToLower();
Consider the program:
Output