C# String ToLower()
Description
String ToLower()
returns a copy of this string converted
to lowercase.
Syntax
String.ToLower()
has the following syntax.
public string ToLower()
Returns
String.ToLower()
method returns A string in lowercase.
Example
The following example converts several mixed case strings to lowercase.
//w w w . j a v a2 s . c o m
using System;
public class ToLowerTest {
public static void Main() {
Console.WriteLine("java2s.com".ToLower());
}
}
The code above generates the following result.