Indicates whether the specified Unicode character is categorized as an uppercase letter. - CSharp System

CSharp examples for System:Char Unicode

Description

Indicates whether the specified Unicode character is categorized as an uppercase letter.

Demo Code

// Licensed under MIT License (MIT) (https://github.com/zzzprojects/Z.ExtensionMethods)
using System;//from   w ww .ja v a  2 s . co m

public class Main{
        /// <summary>
    ///     Indicates whether the specified Unicode character is categorized as an uppercase letter.
    /// </summary>
    /// <param name="c">The Unicode character to evaluate.</param>
    /// <returns>true if  is an uppercase letter; otherwise, false.</returns>
    public static Boolean IsUpper(this Char c)
    {
        return Char.IsUpper(c);
    }
}

Related Tutorials