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

CSharp examples for System:Char Unicode

Description

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

Demo Code

// Licensed under MIT License (MIT) (https://github.com/zzzprojects/Z.ExtensionMethods)
using System;/* w ww  .  j  a v a2s.co m*/

public class Main{
        /// <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);
    }
}

Related Tutorials