C# String ToLowerInvariant
Description
String ToLowerInvariant
returns a copy of this String
object converted to lowercase using the casing rules of the invariant culture.
Syntax
String.ToLowerInvariant
has the following syntax.
public string ToLowerInvariant()
Returns
String.ToLowerInvariant
method returns The lowercase equivalent of the current string.
Example
The following example defines a string array that contains a single word in a number of languages.
using System;/*from www. ja v a 2 s .c o m*/
public class Example
{
public static void Main()
{
string words = "Tuesday";
Console.WriteLine(words.ToLowerInvariant());
}
}
The code above generates the following result.