Char - ToLowerInvariant

Converts the value of a Unicode character to its lowercase equivalent using the casing rules of the invariant culture.

Try it

public static void Main()
{
    char [] input = {'D','I','Ş'};
	
	Console.WriteLine("Converted all the characters to lower case using the casing rules of the invariant culture..");

    for (int i = 0; i < input.Length; i++)
    {
		// C# Extension Method: Char - ToLowerInvariant
		var result = input[i].ToLowerInvariant();
		
        Console.WriteLine("{0} : {1} ", input[i], result);
    }
}

View Source
using System;

public static partial class Extensions
{
    /// <summary>
    ///     Converts the value of a Unicode character to its lowercase equivalent using the casing rules of the invariant
    ///     culture.
    /// </summary>
    /// <param name="c">The Unicode character to convert.</param>
    /// <returns>
    ///     The lowercase equivalent of the  parameter, or the unchanged value of , if  is already lowercase or not
    ///     alphabetic.
    /// </returns>
    public static Char ToLowerInvariant(this Char c)
    {
        return Char.ToLowerInvariant(c);
    }
}